diff options
-rw-r--r-- | usr.sbin/zic/ialloc.c | 2 | ||||
-rw-r--r-- | usr.sbin/zic/private.h | 2 | ||||
-rw-r--r-- | usr.sbin/zic/scheck.c | 2 | ||||
-rw-r--r-- | usr.sbin/zic/zdump.c | 3 | ||||
-rw-r--r-- | usr.sbin/zic/zic.c | 4 |
5 files changed, 6 insertions, 7 deletions
diff --git a/usr.sbin/zic/ialloc.c b/usr.sbin/zic/ialloc.c index 0d8f1f2..a069032 100644 --- a/usr.sbin/zic/ialloc.c +++ b/usr.sbin/zic/ialloc.c @@ -1,6 +1,6 @@ #ifndef lint #ifndef NOID -static char elsieid[] = "@(#)ialloc.c 8.29"; +static const char elsieid[] = "@(#)ialloc.c 8.29"; #endif /* !defined NOID */ #endif /* !defined lint */ diff --git a/usr.sbin/zic/private.h b/usr.sbin/zic/private.h index 2d0552d..585d6e6 100644 --- a/usr.sbin/zic/private.h +++ b/usr.sbin/zic/private.h @@ -30,7 +30,7 @@ #ifndef lint #ifndef NOID -static char privatehid[] = "@(#)private.h 7.48"; +static const char privatehid[] = "@(#)private.h 7.48"; #endif /* !defined NOID */ #endif /* !defined lint */ diff --git a/usr.sbin/zic/scheck.c b/usr.sbin/zic/scheck.c index d895cba..692bf1a 100644 --- a/usr.sbin/zic/scheck.c +++ b/usr.sbin/zic/scheck.c @@ -1,6 +1,6 @@ #ifndef lint #ifndef NOID -static char elsieid[] = "@(#)scheck.c 8.15"; +static const char elsieid[] = "@(#)scheck.c 8.15"; #endif /* !defined lint */ #endif /* !defined NOID */ diff --git a/usr.sbin/zic/zdump.c b/usr.sbin/zic/zdump.c index 97cb68b..cfd94ea 100644 --- a/usr.sbin/zic/zdump.c +++ b/usr.sbin/zic/zdump.c @@ -1,6 +1,6 @@ #ifndef lint #ifndef NOID -static char elsieid[] = "@(#)zdump.c 7.28"; +static const char elsieid[] = "@(#)zdump.c 7.28"; #endif /* !defined NOID */ #endif /* !defined lint */ @@ -134,7 +134,6 @@ static char * abbr P((struct tm * tmp)); static long delta P((struct tm * newp, struct tm * oldp)); static time_t hunt P((char * name, time_t lot, time_t hit)); static size_t longest; -static char * progname; static void show P((char * zone, time_t t, int v)); static void usage(void); diff --git a/usr.sbin/zic/zic.c b/usr.sbin/zic/zic.c index 60ff172..109b978 100644 --- a/usr.sbin/zic/zic.c +++ b/usr.sbin/zic/zic.c @@ -1,6 +1,6 @@ #ifndef lint #ifndef NOID -static char elsieid[] = "@(#)zic.c 7.96"; +static const char elsieid[] = "@(#)zic.c 7.96"; #endif /* !defined NOID */ #endif /* !defined lint */ @@ -21,7 +21,7 @@ static const char rcsid[] = ** On some ancient hosts, predicates like `isspace(C)' are defined ** only if isascii(C) || C == EOF. Modern hosts obey the C Standard, ** which says they are defined only if C == ((unsigned char) C) || C == EOF. -** Neither the C Standard nor Posix require that `isascii' exist. +** Neither the C Standard nor POSIX require that `isascii' exist. ** For portability, we check both ancient and modern requirements. ** If isascii is not defined, the isascii check succeeds trivially. */ |