-Wall cleaning
This commit is contained in:
parent
2af14b60ed
commit
0e94bdb19e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=69315
@ -1,6 +1,6 @@
|
|||||||
#ifndef lint
|
#ifndef lint
|
||||||
#ifndef NOID
|
#ifndef NOID
|
||||||
static char elsieid[] = "@(#)ialloc.c 8.29";
|
static const char elsieid[] = "@(#)ialloc.c 8.29";
|
||||||
#endif /* !defined NOID */
|
#endif /* !defined NOID */
|
||||||
#endif /* !defined lint */
|
#endif /* !defined lint */
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#ifndef NOID
|
#ifndef NOID
|
||||||
static char privatehid[] = "@(#)private.h 7.48";
|
static const char privatehid[] = "@(#)private.h 7.48";
|
||||||
#endif /* !defined NOID */
|
#endif /* !defined NOID */
|
||||||
#endif /* !defined lint */
|
#endif /* !defined lint */
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#ifndef lint
|
#ifndef lint
|
||||||
#ifndef NOID
|
#ifndef NOID
|
||||||
static char elsieid[] = "@(#)scheck.c 8.15";
|
static const char elsieid[] = "@(#)scheck.c 8.15";
|
||||||
#endif /* !defined lint */
|
#endif /* !defined lint */
|
||||||
#endif /* !defined NOID */
|
#endif /* !defined NOID */
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#ifndef lint
|
#ifndef lint
|
||||||
#ifndef NOID
|
#ifndef NOID
|
||||||
static char elsieid[] = "@(#)zdump.c 7.28";
|
static const char elsieid[] = "@(#)zdump.c 7.28";
|
||||||
#endif /* !defined NOID */
|
#endif /* !defined NOID */
|
||||||
#endif /* !defined lint */
|
#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 long delta P((struct tm * newp, struct tm * oldp));
|
||||||
static time_t hunt P((char * name, time_t lot, time_t hit));
|
static time_t hunt P((char * name, time_t lot, time_t hit));
|
||||||
static size_t longest;
|
static size_t longest;
|
||||||
static char * progname;
|
|
||||||
static void show P((char * zone, time_t t, int v));
|
static void show P((char * zone, time_t t, int v));
|
||||||
static void usage(void);
|
static void usage(void);
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#ifndef lint
|
#ifndef lint
|
||||||
#ifndef NOID
|
#ifndef NOID
|
||||||
static char elsieid[] = "@(#)zic.c 7.96";
|
static const char elsieid[] = "@(#)zic.c 7.96";
|
||||||
#endif /* !defined NOID */
|
#endif /* !defined NOID */
|
||||||
#endif /* !defined lint */
|
#endif /* !defined lint */
|
||||||
|
|
||||||
@ -21,7 +21,7 @@ static const char rcsid[] =
|
|||||||
** On some ancient hosts, predicates like `isspace(C)' are defined
|
** On some ancient hosts, predicates like `isspace(C)' are defined
|
||||||
** only if isascii(C) || C == EOF. Modern hosts obey the C Standard,
|
** 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.
|
** 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.
|
** For portability, we check both ancient and modern requirements.
|
||||||
** If isascii is not defined, the isascii check succeeds trivially.
|
** If isascii is not defined, the isascii check succeeds trivially.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user