aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/col
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2001-05-26 22:45:14 +0000
committerKris Kennaway <kris@FreeBSD.org>2001-05-26 22:45:14 +0000
commit50d6b258b2511b2b1c3ee6195d9e9d17d49e04fd (patch)
treed476f32d459c5e5c7564281857d3713a65df17a0 /usr.bin/col
parent16dd925f160c87319522740033c9164166b19d31 (diff)
downloadsrc-50d6b258b2511b2b1c3ee6195d9e9d17d49e04fd.tar.gz
src-50d6b258b2511b2b1c3ee6195d9e9d17d49e04fd.zip
Fix a trivial warning and clamp down with WARNS=2
MFC after: 1 week
Notes
Notes: svn path=/head/; revision=77248
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 9edab17f7698..97b9cde52c0d 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 dfa15afb57ef..40150f221f78 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));