summaryrefslogtreecommitdiffstats
path: root/nsprpub/pr/include/prerror.h
diff options
context:
space:
mode:
Diffstat (limited to 'nsprpub/pr/include/prerror.h')
-rw-r--r--nsprpub/pr/include/prerror.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/nsprpub/pr/include/prerror.h b/nsprpub/pr/include/prerror.h
index 3d6baf6ef..f445aa90a 100644
--- a/nsprpub/pr/include/prerror.h
+++ b/nsprpub/pr/include/prerror.h
@@ -80,13 +80,13 @@ purpose. It is provided "as is" without express or implied warranty.
/*
* NOTE:
- * The interfaces for error-code-translation described in the rest of
- * this file are preliminary in the 3.1 release of nspr and are subject
- * to change in future releases.
+ * The interfaces for error-code-translation described in the rest of
+ * this file are preliminary in the 3.1 release of nspr and are subject
+ * to change in future releases.
*/
/*
-** Description: Localizable error code to string function.
+** Description: Localizable error code to string function.
**
**
** NSPR provides a mechanism for converting an error code to a
@@ -171,7 +171,7 @@ struct PRErrorTable {
/*
* struct PRErrorCallbackPrivate --
*
- * A private structure for the localization plugin
+ * A private structure for the localization plugin
*/
struct PRErrorCallbackPrivate;
@@ -194,10 +194,10 @@ struct PRErrorCallbackTablePrivate;
* if no description can be found.
*/
typedef const char *
-PRErrorCallbackLookupFn(PRErrorCode code, PRLanguageCode language,
- const struct PRErrorTable *table,
- struct PRErrorCallbackPrivate *cb_private,
- struct PRErrorCallbackTablePrivate *table_private);
+PRErrorCallbackLookupFn(PRErrorCode code, PRLanguageCode language,
+ const struct PRErrorTable *table,
+ struct PRErrorCallbackPrivate *cb_private,
+ struct PRErrorCallbackTablePrivate *table_private);
/*
* PRErrorCallbackNewTableFn --
@@ -211,7 +211,7 @@ PRErrorCallbackLookupFn(PRErrorCode code, PRLanguageCode language,
*/
typedef struct PRErrorCallbackTablePrivate *
PRErrorCallbackNewTableFn(const struct PRErrorTable *table,
- struct PRErrorCallbackPrivate *cb_private);
+ struct PRErrorCallbackPrivate *cb_private);
/**********************************************************************/
/****************************** FUNCTIONS *****************************/
@@ -228,7 +228,7 @@ PRErrorCallbackNewTableFn(const struct PRErrorTable *table,
**
***********************************************************************/
NSPR_API(const char *) PR_ErrorToString(PRErrorCode code,
- PRLanguageCode language);
+ PRLanguageCode language);
/***********************************************************************
@@ -266,7 +266,7 @@ NSPR_API(const char * const *) PR_ErrorLanguages(void);
** of the process.
**
** NOT THREAD SAFE!
-**
+**
***********************************************************************/
NSPR_API(PRErrorCode) PR_ErrorInstallTable(const struct PRErrorTable *table);
@@ -285,9 +285,9 @@ NSPR_API(PRErrorCode) PR_ErrorInstallTable(const struct PRErrorTable *table);
**
***********************************************************************/
NSPR_API(void) PR_ErrorInstallCallback(const char * const * languages,
- PRErrorCallbackLookupFn *lookup,
- PRErrorCallbackNewTableFn *newtable,
- struct PRErrorCallbackPrivate *cb_private);
+ PRErrorCallbackLookupFn *lookup,
+ PRErrorCallbackNewTableFn *newtable,
+ struct PRErrorCallbackPrivate *cb_private);
PR_END_EXTERN_C