From: Ulrich Drepper Date: Sun, 24 Nov 2002 18:41:22 +0000 (+0000) Subject: Update. X-Git-Tag: cvs/initial~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=93ed04cc6ee0fadd379f267be24fe3b86c3cf70a;p=thirdparty%2Fglibc.git Update. 2002-11-19 Jim Meyering * time/mktime.c (__mon_yday, __mktime_internal) [!_LIBC]: Declare as `static'. * time/strptime.c (__mon_yday) [!_LIBC]: Declare as `static'. --- diff --git a/ChangeLog b/ChangeLog index fe7565f6521..8aad7b3dfc2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-11-19 Jim Meyering + + * time/mktime.c (__mon_yday, __mktime_internal) [!_LIBC]: Declare + as `static'. + * time/strptime.c (__mon_yday) [!_LIBC]: Declare as `static'. + 2002-11-23 Roland McGrath * scripts/abilist.awk: Avoid strtonum function, not there in mawk. diff --git a/time/strptime.c b/time/strptime.c index 7208ddee4e2..1edd4ac257f 100644 --- a/time/strptime.c +++ b/time/strptime.c @@ -185,7 +185,7 @@ static char const ab_month_name[][4] = # define HERE_T_FMT_AMPM "%I:%M:%S %p" # define HERE_T_FMT "%H:%M:%S" -const unsigned short int __mon_yday[2][13] = +static const unsigned short int __mon_yday[2][13] = { /* Normal years. */ { 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365 },