diff options
Diffstat (limited to 'include/time.h')
-rw-r--r-- | include/time.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/time.h b/include/time.h index 25e00f639..a96fcae04 100644 --- a/include/time.h +++ b/include/time.h @@ -205,6 +205,7 @@ extern time_t mktime (struct tm *__tp) __THROW; extern size_t strftime (char *__restrict __s, size_t __maxsize, __const char *__restrict __format, __const struct tm *__restrict __tp) __THROW; +libc_hidden_proto(strftime) __END_NAMESPACE_STD # ifdef __USE_XOPEN @@ -213,6 +214,7 @@ __END_NAMESPACE_STD extern char *strptime (__const char *__restrict __s, __const char *__restrict __fmt, struct tm *__tp) __THROW; +libc_hidden_proto(strptime) # endif #ifdef __UCLIBC_HAS_XLOCALE__ @@ -225,10 +227,12 @@ extern size_t strftime_l (char *__restrict __s, size_t __maxsize, __const char *__restrict __format, __const struct tm *__restrict __tp, __locale_t __loc) __THROW; +libc_hidden_proto(strftime_l) extern char *strptime_l (__const char *__restrict __s, __const char *__restrict __fmt, struct tm *__tp, __locale_t __loc) __THROW; +libc_hidden_proto(strptime_l) # endif #endif @@ -241,6 +245,7 @@ extern struct tm *gmtime (__const time_t *__timer) __THROW; /* Return the `struct tm' representation of *TIMER in the local timezone. */ extern struct tm *localtime (__const time_t *__timer) __THROW; +libc_hidden_proto(localtime) __END_NAMESPACE_STD # if defined __USE_POSIX || defined __USE_MISC @@ -253,15 +258,18 @@ extern struct tm *gmtime_r (__const time_t *__restrict __timer, using *TP to store the result. */ extern struct tm *localtime_r (__const time_t *__restrict __timer, struct tm *__restrict __tp) __THROW; +libc_hidden_proto(localtime_r) # endif /* POSIX or misc */ __BEGIN_NAMESPACE_STD /* Return a string of the form "Day Mon dd hh:mm:ss yyyy\n" that is the representation of TP in this format. */ extern char *asctime (__const struct tm *__tp) __THROW; +libc_hidden_proto(asctime) /* Equivalent to `asctime (localtime (timer))'. */ extern char *ctime (__const time_t *__timer) __THROW; +libc_hidden_proto(ctime) __END_NAMESPACE_STD # if defined __USE_POSIX || defined __USE_MISC @@ -271,6 +279,7 @@ __END_NAMESPACE_STD that is the representation of TP in this format. */ extern char *asctime_r (__const struct tm *__restrict __tp, char *__restrict __buf) __THROW; +libc_hidden_proto(asctime_r) /* Equivalent to `asctime_r (localtime_r (timer, *TMP*), buf)'. */ extern char *ctime_r (__const time_t *__restrict __timer, @@ -294,6 +303,7 @@ extern char *tzname[2]; /* Set time conversion information from the TZ environment variable. If TZ is not defined, a locale-dependent default is used. */ extern void tzset (void) __THROW; +libc_hidden_proto(tzset) # endif # if defined __USE_SVID || defined __USE_XOPEN @@ -337,6 +347,7 @@ extern int dysize (int __year) __THROW __attribute__ ((__const__)); __THROW. */ extern int nanosleep (__const struct timespec *__requested_time, struct timespec *__remaining); +libc_hidden_proto(nanosleep) /* Get resolution of clock CLOCK_ID. */ |