diff options
Diffstat (limited to 'time')
-rw-r--r-- | time/private.h | 2 | ||||
-rw-r--r-- | time/scheck.c | 2 | ||||
-rw-r--r-- | time/strftime.c | 1 |
3 files changed, 2 insertions, 3 deletions
diff --git a/time/private.h b/time/private.h index 5a5b516..e32653b 100644 --- a/time/private.h +++ b/time/private.h @@ -182,7 +182,7 @@ char * imalloc P((int n)); void * irealloc P((void * pointer, int size)); void icfree P((char * pointer)); void ifree P((char * pointer)); -char * scheck P((const char *string, char *format)); +char * scheck P((const char *string, const char *format)); /* diff --git a/time/scheck.c b/time/scheck.c index b51f58d..52b4ff5 100644 --- a/time/scheck.c +++ b/time/scheck.c @@ -11,7 +11,7 @@ static char elsieid[] = "@(#)scheck.c 8.14"; char * scheck(string, format) const char * const string; -char * const format; +const char * const format; { register char * fbuf; register const char * fp; diff --git a/time/strftime.c b/time/strftime.c index 040b787..10d508d 100644 --- a/time/strftime.c +++ b/time/strftime.c @@ -31,7 +31,6 @@ # define HAVE_TZSET 1 # define MULTIBYTE_IS_FORMAT_SAFE 1 # define STDC_HEADERS 1 -# include <ansidecl.h> # include "../locale/localeinfo.h" #endif |