diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-12-10 09:47:59 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-12-10 09:47:59 +0000 |
commit | b77e6cd62103be90cd9cdd8e24372cb5324916ad (patch) | |
tree | df25857397237d37391fc0727d43e3fbead27a7b /time | |
parent | 8632b24036502a41a4e2648cd892d2c4be1e0f73 (diff) | |
download | glibc-b77e6cd62103be90cd9cdd8e24372cb5324916ad.tar.gz glibc-b77e6cd62103be90cd9cdd8e24372cb5324916ad.tar.xz glibc-b77e6cd62103be90cd9cdd8e24372cb5324916ad.zip |
Update.
1998-12-10 Ulrich Drepper <drepper@cygnus.com> * inet/getnetgrent_r.c (innetgr): Check host and domain name with strcasecmp, not strcmp. [PR libc/894]. 1998-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de> * posix/regex.h: Declare re_comp, re_exec if compiling for libc to get prototypes. * wctype/wctype.h: Add prototypes for __iswblank_l and iswblank. 1998-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sysdeps/unix/sysv/linux/gethostid.c: Include <netdb.h> to get prototype for __gethostbyname_r. * include/time.h: Add declarations of internal interfaces. * time/tzset.c: Remove declarations of internal interfaces. * time/gmtime.c: Likewise. * time/localtime.c: Likewise. * time/offtime.c: Likewise. * time/tzfile.c: Likewise.
Diffstat (limited to 'time')
-rw-r--r-- | time/gmtime.c | 10 | ||||
-rw-r--r-- | time/localtime.c | 7 | ||||
-rw-r--r-- | time/offtime.c | 5 | ||||
-rw-r--r-- | time/tzfile.c | 4 | ||||
-rw-r--r-- | time/tzset.c | 14 |
5 files changed, 3 insertions, 37 deletions
diff --git a/time/gmtime.c b/time/gmtime.c index 2b388befb1..2de58eea2f 100644 --- a/time/gmtime.c +++ b/time/gmtime.c @@ -1,5 +1,5 @@ /* Convert `time_t' to `struct tm' in UTC. - Copyright (C) 1991, 1993, 1995, 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1991, 93, 95, 96, 97, 98 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -19,14 +19,6 @@ #include <time.h> -/* Defined in localtime.c. */ -extern struct tm _tmbuf; - -/* Prototype for the internal function to get information based on TZ. */ -extern struct tm *__tz_convert __P ((const time_t *t, int use_localtime, - struct tm *tp)); - - /* Return the `struct tm' representation of *T in UTC, using *TP to store the result. */ struct tm * diff --git a/time/localtime.c b/time/localtime.c index 3d8d8fbd10..148879274d 100644 --- a/time/localtime.c +++ b/time/localtime.c @@ -1,5 +1,5 @@ /* Convert `time_t' to `struct tm' in local time zone. - Copyright (C) 1991, 92, 93, 95, 96, 97 Free Software Foundation, Inc. + Copyright (C) 1991, 92, 93, 95, 96, 97, 98 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -22,11 +22,6 @@ /* The C Standard says that localtime and gmtime return the same pointer. */ struct tm _tmbuf; -/* Prototype for the internal function to get information based on TZ. */ -extern struct tm *__tz_convert __P ((const time_t *t, int use_localtime, - struct tm *tp)); - - /* Return the `struct tm' representation of *T in local time, using *TP to store the result. */ diff --git a/time/offtime.c b/time/offtime.c index 52e40703c8..f858790141 100644 --- a/time/offtime.c +++ b/time/offtime.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1993, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1993, 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -18,9 +18,6 @@ #include <time.h> -/* Defined in mktime.c. */ -extern const unsigned short int __mon_yday[2][13]; - #define SECS_PER_HOUR (60 * 60) #define SECS_PER_DAY (SECS_PER_HOUR * 24) diff --git a/time/tzfile.c b/time/tzfile.c index 497fe3f006..e723892405 100644 --- a/time/tzfile.c +++ b/time/tzfile.c @@ -44,8 +44,6 @@ struct leap long int change; /* Seconds of correction to apply. */ }; -extern char * __tzstring (const char *); /* Defined in tzset.c. */ - static struct ttinfo *find_transition (time_t timer) internal_function; static void compute_tzname_max (size_t) internal_function; @@ -530,8 +528,6 @@ static void internal_function compute_tzname_max (size_t chars) { - extern size_t __tzname_cur_max; /* Defined in tzset.c. */ - const char *p; p = zone_names; diff --git a/time/tzset.c b/time/tzset.c index 60188c2720..d6d1b2089a 100644 --- a/time/tzset.c +++ b/time/tzset.c @@ -25,24 +25,10 @@ #include <string.h> #include <time.h> -/* Defined in mktime.c. */ -extern const unsigned short int __mon_yday[2][13]; - -/* Defined in localtime.c. */ -extern struct tm _tmbuf; #define NOID #include <timezone/tzfile.h> -extern int __use_tzfile; -extern void __tzfile_read __P ((const char *file)); -extern int __tzfile_compute __P ((time_t timer, int use_localtime, - long int *leap_correct, int *leap_hit, - struct tm *tp)); -extern void __tzfile_default __P ((const char *std, const char *dst, - long int stdoff, long int dstoff)); -extern char *__tzstring __P ((const char *string)); - char *__tzname[2] = { (char *) "GMT", (char *) "GMT" }; int __daylight = 0; long int __timezone = 0L; |