aboutsummaryrefslogtreecommitdiff
path: root/sbin/comcontrol
diff options
context:
space:
mode:
authorJohan Karlsson <johan@FreeBSD.org>2003-08-08 19:51:01 +0000
committerJohan Karlsson <johan@FreeBSD.org>2003-08-08 19:51:01 +0000
commit2f92fd9bf76761882c34bbf70abb94b027b77388 (patch)
treec6f9eb69819cc3586fb01a5aa61bab2d096bcd3e /sbin/comcontrol
parent10b35e00c962ff509b79de9b7255472d9a1c1bde (diff)
downloadsrc-2f92fd9bf76761882c34bbf70abb94b027b77388.tar.gz
src-2f92fd9bf76761882c34bbf70abb94b027b77388.zip
Make this WARNS=6 clean by prototyping 'usage'.
Tested by: make universe
Notes
Notes: svn path=/head/; revision=118671
Diffstat (limited to 'sbin/comcontrol')
-rw-r--r--sbin/comcontrol/Makefile1
-rw-r--r--sbin/comcontrol/comcontrol.c2
2 files changed, 3 insertions, 0 deletions
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 <bsd.prog.mk>
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 <sys/types.h>
#include <sys/ioctl.h>
+static void usage(void);
+
static void
usage()
{