diff options
author | archie <archie@FreeBSD.org> | 1998-12-06 22:58:23 +0000 |
---|---|---|
committer | archie <archie@FreeBSD.org> | 1998-12-06 22:58:23 +0000 |
commit | 167c036e91fb24a62d627d16a2f3afa6d875c9e2 (patch) | |
tree | e40a696092a51458b052ff258b3700d51fc2ca09 /usr.bin/banner | |
parent | 3f56407712318be6faa0b98ad8db4b5a83ef4c93 (diff) | |
download | FreeBSD-src-167c036e91fb24a62d627d16a2f3afa6d875c9e2.zip FreeBSD-src-167c036e91fb24a62d627d16a2f3afa6d875c9e2.tar.gz |
Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).
Diffstat (limited to 'usr.bin/banner')
-rw-r--r-- | usr.bin/banner/Makefile | 1 | ||||
-rw-r--r-- | usr.bin/banner/banner.c | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/banner/Makefile b/usr.bin/banner/Makefile index 54a3ad5..c04e68ae6 100644 --- a/usr.bin/banner/Makefile +++ b/usr.bin/banner/Makefile @@ -1,6 +1,7 @@ # @(#)Makefile 8.1 (Berkeley) 6/6/93 PROG= banner +CFLAGS+=-Wall MAN6= banner.6 .include <bsd.prog.mk> diff --git a/usr.bin/banner/banner.c b/usr.bin/banner/banner.c index 13a2849..15a2952 100644 --- a/usr.bin/banner/banner.c +++ b/usr.bin/banner/banner.c @@ -32,13 +32,13 @@ */ #ifndef lint -static char copyright[] = +static const char copyright[] = "@(#) Copyright (c) 1980, 1993, 1994\n\ The Regents of the University of California. All rights reserved.\n"; #endif /* not lint */ #ifndef lint -static char sccsid[] = "@(#)banner.c 8.4 (Berkeley) 4/29/95"; +static const char sccsid[] = "@(#)banner.c 8.4 (Berkeley) 4/29/95"; #endif /* not lint */ /* |