summaryrefslogtreecommitdiffstats
path: root/usr.bin/column
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2001-12-02 13:18:59 +0000
committermarkm <markm@FreeBSD.org>2001-12-02 13:18:59 +0000
commitb8b83fee29ce8903ec654cfe60137f888b31201a (patch)
treee45bfe7eaa5d1e3414e3de7d8bdade9cab756e57 /usr.bin/column
parent6ca5ece2c9e88eace10e40a733c301db69e331cc (diff)
downloadFreeBSD-src-b8b83fee29ce8903ec654cfe60137f888b31201a.zip
FreeBSD-src-b8b83fee29ce8903ec654cfe60137f888b31201a.tar.gz
WARNS=2 fixup.
Diffstat (limited to 'usr.bin/column')
-rw-r--r--usr.bin/column/Makefile3
-rw-r--r--usr.bin/column/column.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/column/Makefile b/usr.bin/column/Makefile
index 33de9f6..0f53dab 100644
--- a/usr.bin/column/Makefile
+++ b/usr.bin/column/Makefile
@@ -1,6 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
+# $FreeBSD$
PROG= column
-CFLAGS+=-Wall
+WARNS?= 2
.include <bsd.prog.mk>
diff --git a/usr.bin/column/column.c b/usr.bin/column/column.c
index ae732d2..4a01904 100644
--- a/usr.bin/column/column.c
+++ b/usr.bin/column/column.c
@@ -69,7 +69,7 @@ int entries; /* number of records */
int eval; /* exit value */
int maxlength; /* longest record */
char **list; /* array of pointers to records */
-char *separator = "\t "; /* field separator for table option */
+const char *separator = "\t "; /* field separator for table option */
int
main(argc, argv)
OpenPOWER on IntegriCloud