From fa146c53357ea20afd3661d8093ea1db44198d5f Mon Sep 17 00:00:00 2001 From: Archie Cobbs Date: Sun, 6 Dec 1998 22:58:23 +0000 Subject: Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]). --- usr.bin/col/Makefile | 1 + usr.bin/col/col.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'usr.bin/col') diff --git a/usr.bin/col/Makefile b/usr.bin/col/Makefile index efa0933830a2..9edab17f7698 100644 --- a/usr.bin/col/Makefile +++ b/usr.bin/col/Makefile @@ -1,5 +1,6 @@ # @(#)Makefile 8.1 (Berkeley) 6/6/93 PROG= col +CFLAGS+=-Wall .include diff --git a/usr.bin/col/col.c b/usr.bin/col/col.c index 88d024e72177..8d26faadc0a0 100644 --- a/usr.bin/col/col.c +++ b/usr.bin/col/col.c @@ -35,13 +35,13 @@ */ #ifndef lint -static char copyright[] = +static const char copyright[] = "@(#) Copyright (c) 1990, 1993, 1994\n\ The Regents of the University of California. All rights reserved.\n"; #endif /* not lint */ #ifndef lint -static char sccsid[] = "@(#)col.c 8.5 (Berkeley) 5/4/95"; +static const char sccsid[] = "@(#)col.c 8.5 (Berkeley) 5/4/95"; #endif /* not lint */ #include -- cgit v1.3