summaryrefslogtreecommitdiff
path: root/src/locale/setlocale.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/locale/setlocale.c')
-rw-r--r--src/locale/setlocale.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/locale/setlocale.c b/src/locale/setlocale.c
index 5a2b6859..ab355dc6 100644
--- a/src/locale/setlocale.c
+++ b/src/locale/setlocale.c
@@ -3,7 +3,6 @@
#include <stdlib.h>
#include "_locale.h"
#include "_safety.h"
-#undef setlocale
/** get or set program locale **/
@@ -45,6 +44,8 @@ char * setlocale(int category, const char *locale)
return __load_locale(l, mask, locale);
}
+__check_2(char *, NULL, setlocale, int, const char *)
+
/***
sets or retrieves the current global locale of the
program. The program locale has global effects of various operations, based