summaryrefslogtreecommitdiffstats
path: root/usr.bin/col
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2001-05-26 22:45:14 +0000
committerkris <kris@FreeBSD.org>2001-05-26 22:45:14 +0000
commit98b6fe6f088a900fab1f1f3b1a7c35e81f00cbd5 (patch)
treecffc317ef86557cb9b218caa83e3167d4172a2ee /usr.bin/col
parentddc5c054787f20c6e18babdd32a9d962ae6df0c2 (diff)
downloadFreeBSD-src-98b6fe6f088a900fab1f1f3b1a7c35e81f00cbd5.zip
FreeBSD-src-98b6fe6f088a900fab1f1f3b1a7c35e81f00cbd5.tar.gz
Fix a trivial warning and clamp down with WARNS=2
MFC after: 1 week
Diffstat (limited to 'usr.bin/col')
-rw-r--r--usr.bin/col/Makefile3
-rw-r--r--usr.bin/col/col.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/col/Makefile b/usr.bin/col/Makefile
index 9edab17..97b9cde 100644
--- a/usr.bin/col/Makefile
+++ b/usr.bin/col/Makefile
@@ -1,6 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
+# $FreeBSD$
PROG= col
-CFLAGS+=-Wall
+WARNS?= 2
.include <bsd.prog.mk>
diff --git a/usr.bin/col/col.c b/usr.bin/col/col.c
index dfa15af..40150f2 100644
--- a/usr.bin/col/col.c
+++ b/usr.bin/col/col.c
@@ -99,6 +99,7 @@ void flush_line __P((LINE *));
void flush_lines __P((int));
void flush_blanks __P((void));
void free_line __P((LINE *));
+int main __P((int, char **));
void usage __P((void));
void wrerr __P((void));
void *xmalloc __P((void *, size_t));
OpenPOWER on IntegriCloud