From 8492c4dd699e2a65a5a2e8fca3e0e530326c92b9 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Tue, 7 Mar 2017 09:37:46 +0100 Subject: timezone: Remove TZNAME_MAX limit from sysconf [BZ #15576] glibc does not impose a limit, and POSIX does not allow a sysconf limit which changes during the lifetime of a process. --- include/time.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'include') diff --git a/include/time.h b/include/time.h index 684ceb8..6badf0e 100644 --- a/include/time.h +++ b/include/time.h @@ -37,10 +37,6 @@ extern struct tm _tmbuf attribute_hidden; /* Defined in tzset.c. */ extern char *__tzstring (const char *string); -/* Defined in tzset.c. */ -extern size_t __tzname_cur_max attribute_hidden; - - extern int __use_tzfile attribute_hidden; extern void __tzfile_read (const char *file, size_t extra, @@ -82,10 +78,6 @@ extern void __tzset (void); /* Prototype for the internal function to get information based on TZ. */ extern struct tm *__tz_convert (const time_t *timer, int use_localtime, struct tm *tp); -/* Return the maximum length of a timezone name. - This is what `sysconf (_SC_TZNAME_MAX)' does. */ -extern long int __tzname_max (void); - extern int __nanosleep (const struct timespec *__requested_time, struct timespec *__remaining); libc_hidden_proto (__nanosleep) -- cgit v1.1