diff options
Diffstat (limited to 'time')
-rw-r--r-- | time/strftime.c | 2 | ||||
-rw-r--r-- | time/time.h | 7 |
2 files changed, 1 insertions, 8 deletions
diff --git a/time/strftime.c b/time/strftime.c index 8ae5985537..986124399b 100644 --- a/time/strftime.c +++ b/time/strftime.c @@ -1385,7 +1385,7 @@ my_strftime (s, maxsize, format, tp ut_argument LOCALE_PARAM) *p = L_('\0'); return i; } -#ifdef _LIBC +#if defined _LIBC && !defined USE_IN_EXTENDED_LOCALE_MODEL libc_hidden_def (my_strftime) #endif diff --git a/time/time.h b/time/time.h index dd7ce8dec5..e71ca7afcc 100644 --- a/time/time.h +++ b/time/time.h @@ -193,18 +193,11 @@ extern char *strptime (__const char *__restrict __s, the provided locale and not the global locale. */ # include <xlocale.h> -extern size_t __strftime_l (char *__restrict __s, size_t __maxsize, - __const char *__restrict __format, - __const struct tm *__restrict __tp, - __locale_t __loc) __THROW; extern size_t strftime_l (char *__restrict __s, size_t __maxsize, __const char *__restrict __format, __const struct tm *__restrict __tp, __locale_t __loc) __THROW; -extern char *__strptime_l (__const char *__restrict __s, - __const char *__restrict __fmt, struct tm *__tp, - __locale_t __loc) __THROW; extern char *strptime_l (__const char *__restrict __s, __const char *__restrict __fmt, struct tm *__tp, __locale_t __loc) __THROW; |