diff options
author | phantom <phantom@FreeBSD.org> | 2001-02-08 17:06:37 +0000 |
---|---|---|
committer | phantom <phantom@FreeBSD.org> | 2001-02-08 17:06:37 +0000 |
commit | fe9086e23b0885193f08660bcd7ea91f2a9905fe (patch) | |
tree | 303e32de90fed93221f5984e07e7cbaed4d5233e /lib/libc/stdtime/timelocal.h | |
parent | d35a50f01040f12045947fe62e49b233561ac434 (diff) | |
download | FreeBSD-src-fe9086e23b0885193f08660bcd7ea91f2a9905fe.zip FreeBSD-src-fe9086e23b0885193f08660bcd7ea91f2a9905fe.tar.gz |
Export internal data structures in same manner as numeric/monetary/messages
structures exported.
Protect timelocal.h from multiple inclusions.
Diffstat (limited to 'lib/libc/stdtime/timelocal.h')
-rw-r--r-- | lib/libc/stdtime/timelocal.h | 10 |
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 */ |