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/colrm | |
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/colrm')
-rw-r--r-- | usr.bin/colrm/Makefile | 1 | ||||
-rw-r--r-- | usr.bin/colrm/colrm.c | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/colrm/Makefile b/usr.bin/colrm/Makefile index b9c8341..7413d42 100644 --- a/usr.bin/colrm/Makefile +++ b/usr.bin/colrm/Makefile @@ -1,5 +1,6 @@ # @(#)Makefile 8.1 (Berkeley) 6/6/93 PROG= colrm +CFLAGS+=-Wall .include <bsd.prog.mk> diff --git a/usr.bin/colrm/colrm.c b/usr.bin/colrm/colrm.c index 1195300..2c9e0e4 100644 --- a/usr.bin/colrm/colrm.c +++ b/usr.bin/colrm/colrm.c @@ -30,17 +30,17 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: colrm.c,v 1.4 1997/06/30 11:05:42 charnier Exp $ + * $Id: colrm.c,v 1.5 1997/12/29 00:08:59 alex Exp $ */ #ifndef lint -static char copyright[] = +static const char copyright[] = "@(#) Copyright (c) 1991, 1993\n\ The Regents of the University of California. All rights reserved.\n"; #endif /* not lint */ #ifndef lint -static char sccsid[] = "@(#)colrm.c 8.2 (Berkeley) 5/4/95"; +static const char sccsid[] = "@(#)colrm.c 8.2 (Berkeley) 5/4/95"; #endif /* not lint */ #include <sys/types.h> |