diff options
Diffstat (limited to 'usr.bin/cmp')
-rw-r--r-- | usr.bin/cmp/Makefile | 1 | ||||
-rw-r--r-- | usr.bin/cmp/cmp.c | 4 | ||||
-rw-r--r-- | usr.bin/cmp/misc.c | 2 | ||||
-rw-r--r-- | usr.bin/cmp/regular.c | 2 | ||||
-rw-r--r-- | usr.bin/cmp/special.c | 2 |
5 files changed, 6 insertions, 5 deletions
diff --git a/usr.bin/cmp/Makefile b/usr.bin/cmp/Makefile index 1b84ce3..1ff3af6 100644 --- a/usr.bin/cmp/Makefile +++ b/usr.bin/cmp/Makefile @@ -1,6 +1,7 @@ # @(#)Makefile 8.1 (Berkeley) 6/6/93 PROG= cmp +CFLAGS+=-Wall SRCS= cmp.c misc.c regular.c special.c .include <bsd.prog.mk> diff --git a/usr.bin/cmp/cmp.c b/usr.bin/cmp/cmp.c index da269d8..a4f4d88 100644 --- a/usr.bin/cmp/cmp.c +++ b/usr.bin/cmp/cmp.c @@ -32,13 +32,13 @@ */ #ifndef lint -static char copyright[] = +static const char copyright[] = "@(#) Copyright (c) 1987, 1990, 1993, 1994\n\ The Regents of the University of California. All rights reserved.\n"; #endif /* not lint */ #ifndef lint -static char sccsid[] = "@(#)cmp.c 8.3 (Berkeley) 4/2/94"; +static const char sccsid[] = "@(#)cmp.c 8.3 (Berkeley) 4/2/94"; #endif /* not lint */ #include <sys/types.h> diff --git a/usr.bin/cmp/misc.c b/usr.bin/cmp/misc.c index d5a601d..248ef93 100644 --- a/usr.bin/cmp/misc.c +++ b/usr.bin/cmp/misc.c @@ -32,7 +32,7 @@ */ #ifndef lint -static char sccsid[] = "@(#)misc.c 8.3 (Berkeley) 4/2/94"; +static const char sccsid[] = "@(#)misc.c 8.3 (Berkeley) 4/2/94"; #endif /* not lint */ #include <sys/types.h> diff --git a/usr.bin/cmp/regular.c b/usr.bin/cmp/regular.c index f540ab4..3b82bae 100644 --- a/usr.bin/cmp/regular.c +++ b/usr.bin/cmp/regular.c @@ -32,7 +32,7 @@ */ #ifndef lint -static char sccsid[] = "@(#)regular.c 8.3 (Berkeley) 4/2/94"; +static const char sccsid[] = "@(#)regular.c 8.3 (Berkeley) 4/2/94"; #endif /* not lint */ #include <sys/param.h> diff --git a/usr.bin/cmp/special.c b/usr.bin/cmp/special.c index 0a15fa1..b843cc8 100644 --- a/usr.bin/cmp/special.c +++ b/usr.bin/cmp/special.c @@ -32,7 +32,7 @@ */ #ifndef lint -static char sccsid[] = "@(#)special.c 8.3 (Berkeley) 4/2/94"; +static const char sccsid[] = "@(#)special.c 8.3 (Berkeley) 4/2/94"; #endif /* not lint */ #include <sys/types.h> |