diff options
author | Florian Weimer <fweimer@redhat.com> | 2017-03-07 09:37:46 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2017-03-07 17:45:38 +0100 |
commit | 8492c4dd699e2a65a5a2e8fca3e0e530326c92b9 (patch) | |
tree | 86655668aff2779cb76e71c2abfdbe42a80d720b /include | |
parent | 1c1243b6fc33c029488add276e56570a07803bfd (diff) | |
download | glibc-8492c4dd699e2a65a5a2e8fca3e0e530326c92b9.tar.gz glibc-8492c4dd699e2a65a5a2e8fca3e0e530326c92b9.tar.xz glibc-8492c4dd699e2a65a5a2e8fca3e0e530326c92b9.zip |
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/time.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/time.h b/include/time.h index 684ceb812f..6badf0e557 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) |