From f7d30133221896638f7bf4f66c504255c4b14f48 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Thu, 2 Jan 2020 21:01:38 +0100 Subject: Issue #1338 - Part 1: Update NSPR to 4.24 --- nsprpub/pr/include/prerror.h | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'nsprpub/pr/include/prerror.h') 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 -- cgit v1.2.3