about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--time/strptime.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index fe7565f652..8aad7b3dfc 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 7208ddee4e..1edd4ac257 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 },