about summary refs log tree commit diff
path: root/time
diff options
context:
space:
mode:
Diffstat (limited to 'time')
-rw-r--r--time/strftime.c2
-rw-r--r--time/tzset.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/time/strftime.c b/time/strftime.c
index 4afcdd20fb..56abd45240 100644
--- a/time/strftime.c
+++ b/time/strftime.c
@@ -493,6 +493,7 @@ strftime (s, maxsize, format, tp)
 #endif /* ! DO_MULTIBYTE */
 
       /* Check for flags that can modify a format.  */
+      pad = 0;
       while (1)
 	{
 	  switch (*++f)
@@ -510,7 +511,6 @@ strftime (s, maxsize, format, tp)
 	      continue;
 
 	    default:
-	      pad = 0;
 	      break;
 	    }
 	  break;
diff --git a/time/tzset.c b/time/tzset.c
index 085dfcaa33..886ac6c0c8 100644
--- a/time/tzset.c
+++ b/time/tzset.c
@@ -77,6 +77,7 @@ static int compute_change __P ((tz_rule *rule, int year));
 static char *old_tz = NULL;
 
 /* Interpret the TZ envariable.  */
+void __tzset_internal __P ((void));
 void
 __tzset_internal ()
 {