7683e14078
Remove. All uses changed to __localtime_r. (__localtime_r) [!defined _LIBC]: New macro. Include "time_r.h" to get its implementation. Fix compile-command to allow for TIME_R_POSIX. * time/strftime.c (my_strftime_gmtime_r, my_strftime_localtime_r): Remove. All uses changed to __localtime_r and __gmtime_r. (__gmtime_r, __localtime_r) [!HAVE_TM_GMTOFF]: New macros. Include "time_r.h" to get their implementations. * time/timegm.c: Allow use in GNU applications outside glibc. [defined HAVE_CONFIG_H]: Include <config.h>. [!defined _LIBC]: Include "timegm.h", <time_r.h>. Define __gmtime_r, and declare __mktime_internal. (timegm): Define via a prototype, since we can safely assume C89 now. |
||
---|---|---|
.. | ||
sys | ||
.cvsignore | ||
alt_digit.c | ||
asctime.c | ||
clocktest.c | ||
ctime.c | ||
ctime_r.c | ||
datemsk | ||
Depend | ||
difftime.c | ||
dysize.c | ||
era.c | ||
getdate.c | ||
gmtime.c | ||
lc-time-cleanup.c | ||
localtime.c | ||
Makefile | ||
mktime.c | ||
offtime.c | ||
strftime.c | ||
strftime_l.c | ||
strptime.c | ||
strptime_l.c | ||
test_time.c | ||
time.h | ||
timegm.c | ||
tst-ftime_l.c | ||
tst-getdate.c | ||
tst-mktime.c | ||
tst-posixtz.c | ||
tst-strftime.c | ||
tst-strptime.c | ||
tst_wcsftime.c | ||
tzfile.c | ||
tzset.c | ||
Versions | ||
wcsftime.c | ||
wcsftime_l.c |