From 2f92fd9bf76761882c34bbf70abb94b027b77388 Mon Sep 17 00:00:00 2001 From: Johan Karlsson Date: Fri, 8 Aug 2003 19:51:01 +0000 Subject: [PATCH] Make this WARNS=6 clean by prototyping 'usage'. Tested by: make universe --- sbin/comcontrol/Makefile | 1 + sbin/comcontrol/comcontrol.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/sbin/comcontrol/Makefile b/sbin/comcontrol/Makefile index d8757565b1a0..a7720d81b41e 100644 --- a/sbin/comcontrol/Makefile +++ b/sbin/comcontrol/Makefile @@ -3,5 +3,6 @@ PROG= comcontrol MAN= comcontrol.8 +WARNS?= 6 .include diff --git a/sbin/comcontrol/comcontrol.c b/sbin/comcontrol/comcontrol.c index 302d5e67c650..753ded36d1a9 100644 --- a/sbin/comcontrol/comcontrol.c +++ b/sbin/comcontrol/comcontrol.c @@ -40,6 +40,8 @@ __FBSDID("$FreeBSD$"); #include #include +static void usage(void); + static void usage() {