diff options
Diffstat (limited to 'usr.bin/cksum')
-rw-r--r-- | usr.bin/cksum/Makefile | 1 | ||||
-rw-r--r-- | usr.bin/cksum/crc.c | 2 | ||||
-rw-r--r-- | usr.bin/cksum/print.c | 2 | ||||
-rw-r--r-- | usr.bin/cksum/sum1.c | 2 | ||||
-rw-r--r-- | usr.bin/cksum/sum2.c | 2 |
5 files changed, 5 insertions, 4 deletions
diff --git a/usr.bin/cksum/Makefile b/usr.bin/cksum/Makefile index f4fa373..4c1d027 100644 --- a/usr.bin/cksum/Makefile +++ b/usr.bin/cksum/Makefile @@ -1,6 +1,7 @@ # @(#)Makefile 8.2 (Berkeley) 4/28/95 PROG= cksum +CFLAGS+=-Wall SRCS= cksum.c crc.c print.c sum1.c sum2.c crc32.c LINKS= ${BINDIR}/cksum ${BINDIR}/sum MLINKS= cksum.1 sum.1 diff --git a/usr.bin/cksum/crc.c b/usr.bin/cksum/crc.c index 3526395..0dde11d 100644 --- a/usr.bin/cksum/crc.c +++ b/usr.bin/cksum/crc.c @@ -35,7 +35,7 @@ */ #ifndef lint -static char sccsid[] = "@(#)crc.c 8.1 (Berkeley) 6/17/93"; +static const char sccsid[] = "@(#)crc.c 8.1 (Berkeley) 6/17/93"; #endif /* not lint */ #include <sys/types.h> diff --git a/usr.bin/cksum/print.c b/usr.bin/cksum/print.c index 48c38aa..b3a92d3 100644 --- a/usr.bin/cksum/print.c +++ b/usr.bin/cksum/print.c @@ -32,7 +32,7 @@ */ #ifndef lint -static char sccsid[] = "@(#)print.c 8.1 (Berkeley) 6/6/93"; +static const char sccsid[] = "@(#)print.c 8.1 (Berkeley) 6/6/93"; #endif /* not lint */ #include <sys/types.h> diff --git a/usr.bin/cksum/sum1.c b/usr.bin/cksum/sum1.c index 1975ee2..a46a575 100644 --- a/usr.bin/cksum/sum1.c +++ b/usr.bin/cksum/sum1.c @@ -32,7 +32,7 @@ */ #ifndef lint -static char sccsid[] = "@(#)sum1.c 8.1 (Berkeley) 6/6/93"; +static const char sccsid[] = "@(#)sum1.c 8.1 (Berkeley) 6/6/93"; #endif /* not lint */ #include <sys/types.h> diff --git a/usr.bin/cksum/sum2.c b/usr.bin/cksum/sum2.c index 7922050..11abb2c 100644 --- a/usr.bin/cksum/sum2.c +++ b/usr.bin/cksum/sum2.c @@ -32,7 +32,7 @@ */ #ifndef lint -static char sccsid[] = "@(#)sum2.c 8.1 (Berkeley) 6/6/93"; +static const char sccsid[] = "@(#)sum2.c 8.1 (Berkeley) 6/6/93"; #endif /* not lint */ #include <sys/types.h> |