diff options
Diffstat (limited to 'include/time.h')
-rw-r--r-- | include/time.h | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/include/time.h b/include/time.h index d71f985014..795eb5f504 100644 --- a/include/time.h +++ b/include/time.h @@ -5,8 +5,6 @@ # include <time/time.h> # include <xlocale.h> -__BEGIN_DECLS - extern __typeof (strftime_l) __strftime_l; libc_hidden_proto (__strftime_l) extern __typeof (strptime_l) __strptime_l; @@ -19,8 +17,6 @@ libc_hidden_proto (localtime) libc_hidden_proto (strftime) libc_hidden_proto (strptime) -librt_hidden_proto (clock_gettime) - /* Now define the internal interfaces. */ struct tm; @@ -81,10 +77,7 @@ extern long int __tzname_max (void); extern int __nanosleep (__const struct timespec *__requested_time, struct timespec *__remaining); -libc_hidden_proto (__nanosleep) -extern int __nanosleep_nocancel (__const struct timespec *__requested_time, - struct timespec *__remaining) - attribute_hidden; +libc_hidden_proto(__nanosleep) extern int __getdate_r (__const char *__string, struct tm *__resbufp); @@ -94,16 +87,13 @@ extern int __getclktck (void); /* strptime support. */ /* Status of lookup: do we use the locale data or the raw data? */ -#ifndef __cplusplus -/* C++ cannot deal with using 'not'. */ enum ptime_locale_status { not, loc, raw }; extern char * __strptime_internal (const char *rp, const char *fmt, struct tm *tm, enum ptime_locale_status *decided, - int era_cnt, __locale_t locparam) + int era_cnt, __locale_t loc) internal_function; -#endif extern double __difftime (time_t time1, time_t time0); @@ -113,8 +103,5 @@ extern double __difftime (time_t time1, time_t time0); #ifndef _ISOMAC # define CLOCK_IDFIELD_SIZE 3 #endif - -__END_DECLS - #endif #endif |