diff options
author | johan <johan@FreeBSD.org> | 2003-08-08 19:51:01 +0000 |
---|---|---|
committer | johan <johan@FreeBSD.org> | 2003-08-08 19:51:01 +0000 |
commit | e213f094802cf818efb2d12950d4237484790ea7 (patch) | |
tree | c6f9eb69819cc3586fb01a5aa61bab2d096bcd3e | |
parent | 792d59e06fc15e52966f360e1695b9974eccfe51 (diff) | |
download | FreeBSD-src-e213f094802cf818efb2d12950d4237484790ea7.zip FreeBSD-src-e213f094802cf818efb2d12950d4237484790ea7.tar.gz |
Make this WARNS=6 clean by prototyping 'usage'.
Tested by: make universe
-rw-r--r-- | sbin/comcontrol/Makefile | 1 | ||||
-rw-r--r-- | sbin/comcontrol/comcontrol.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/sbin/comcontrol/Makefile b/sbin/comcontrol/Makefile index d875756..a7720d8 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 302d5e6..753ded3 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() { |