aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-11-24 18:41:22 +0000
committerUlrich Drepper <drepper@redhat.com>2002-11-24 18:41:22 +0000
commit93ed04cc6ee0fadd379f267be24fe3b86c3cf70a (patch)
tree4fe09f8c6dd857de0f8d49fcc1cb498d2d061878
parent8592ae9207143e5372883b2b0045243bac19a630 (diff)
downloadglibc-93ed04cc6ee0fadd379f267be24fe3b86c3cf70a.zip
glibc-93ed04cc6ee0fadd379f267be24fe3b86c3cf70a.tar.gz
glibc-93ed04cc6ee0fadd379f267be24fe3b86c3cf70a.tar.bz2
Update.
2002-11-19 Jim Meyering <jim@meyering.net> * time/mktime.c (__mon_yday, __mktime_internal) [!_LIBC]: Declare as `static'. * time/strptime.c (__mon_yday) [!_LIBC]: Declare as `static'.
-rw-r--r--ChangeLog6
-rw-r--r--time/strptime.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index fe7565f..8aad7b3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2002-11-19 Jim Meyering <jim@meyering.net>
+
+ * 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 <roland@redhat.com>
* scripts/abilist.awk: Avoid strtonum function, not there in mawk.
diff --git a/time/strptime.c b/time/strptime.c
index 7208dde..1edd4ac2 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 },