aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/column
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>2001-12-02 13:18:59 +0000
committerMark Murray <markm@FreeBSD.org>2001-12-02 13:18:59 +0000
commitbcdc82df70b61020d3451a2a0f96dd36ec83ec85 (patch)
treee45bfe7eaa5d1e3414e3de7d8bdade9cab756e57 /usr.bin/column
parent3fa15ce5d8c2bff56d3e11f1a47e264ae30514d3 (diff)
WARNS=2 fixup.
Notes
Notes: svn path=/head/; revision=87213
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 33de9f61fe7e..0f53dab1c8dc 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 ae732d2cf853..4a019044576f 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)