summaryrefslogtreecommitdiff
path: root/include/locale.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/locale.h')
-rw-r--r--include/locale.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/locale.h b/include/locale.h
index 00e75d5b5..b3736dd11 100644
--- a/include/locale.h
+++ b/include/locale.h
@@ -6,6 +6,8 @@
#include <features.h>
+__BEGIN_DECLS
+
#ifndef NULL
#ifdef __cplusplus
#define NULL 0
@@ -70,12 +72,12 @@ struct lconv
char n_sign_posn;
};
-__BEGIN_DECLS
-extern char *setlocale(int __category, __const char *__locale);
+/* Set and/or return the current locale. */
+extern char *setlocale (int __category, __const char *__locale) __THROW;
/* Return the numeric/monetary information for the current locale. */
-extern struct lconv *localeconv __P ((void));
+extern struct lconv *localeconv (void) __THROW;
__END_DECLS