summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdtime/timelocal.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/stdtime/timelocal.h')
-rw-r--r--lib/libc/stdtime/timelocal.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/stdtime/timelocal.h b/lib/libc/stdtime/timelocal.h
index b5ab91d..4e4dc52 100644
--- a/lib/libc/stdtime/timelocal.h
+++ b/lib/libc/stdtime/timelocal.h
@@ -26,6 +26,9 @@
* $FreeBSD$
*/
+#ifndef _TIMELOCAL_H
+#define _TIMELOCAL_H
+
/*
* Private header file for the strftime and strptime localization
* stuff.
@@ -46,9 +49,6 @@ struct lc_time_T {
const char * EF_fmt;
};
-extern struct lc_time_T _time_localebuf;
-extern int _time_using_locale;
-extern const struct lc_time_T _C_time_locale;
-
-#define Locale (_time_using_locale ? &_time_localebuf : &_C_time_locale)
+struct lc_time_T * __get_current_time_locale(void);
+#endif /* _TIMELOCAL_H */
OpenPOWER on IntegriCloud