aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/colcrt
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2001-05-26 22:47:58 +0000
committerKris Kennaway <kris@FreeBSD.org>2001-05-26 22:47:58 +0000
commit83b65cc9cbf0024697e5c97a6b51a0415b08d6ea (patch)
tree82e0168aad5316fe37ebe72bad7cb0dd29db56c9 /usr.bin/colcrt
parent50d6b258b2511b2b1c3ee6195d9e9d17d49e04fd (diff)
downloadsrc-83b65cc9cbf0024697e5c97a6b51a0415b08d6ea.tar.gz
src-83b65cc9cbf0024697e5c97a6b51a0415b08d6ea.zip
Notes
Diffstat (limited to 'usr.bin/colcrt')
-rw-r--r--usr.bin/colcrt/Makefile3
-rw-r--r--usr.bin/colcrt/colcrt.c9
2 files changed, 7 insertions, 5 deletions
diff --git a/usr.bin/colcrt/Makefile b/usr.bin/colcrt/Makefile
index 9bb24b735b8f..47a27e79ca4a 100644
--- a/usr.bin/colcrt/Makefile
+++ b/usr.bin/colcrt/Makefile
@@ -1,6 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
+# $FreeBSD$
PROG= colcrt
-CFLAGS+=-Wall
+WARNS?= 2
.include <bsd.prog.mk>
diff --git a/usr.bin/colcrt/colcrt.c b/usr.bin/colcrt/colcrt.c
index 4b5b525f6ef1..fd1f4a35c6c2 100644
--- a/usr.bin/colcrt/colcrt.c
+++ b/usr.bin/colcrt/colcrt.c
@@ -73,10 +73,11 @@ char printall;
FILE *f;
-static void usage __P((void));
-static void pflush __P((int));
-static int plus __P((char, char));
-static void move __P((int, int));
+int main __P((int, char *[]));
+static void move __P((int, int));
+static void pflush __P((int));
+static int plus __P((char, char));
+static void usage __P((void));
int
main(argc, argv)