diff options
author | Johan Karlsson <johan@FreeBSD.org> | 2003-08-08 19:51:01 +0000 |
---|---|---|
committer | Johan Karlsson <johan@FreeBSD.org> | 2003-08-08 19:51:01 +0000 |
commit | 2f92fd9bf76761882c34bbf70abb94b027b77388 (patch) | |
tree | c6f9eb69819cc3586fb01a5aa61bab2d096bcd3e | |
parent | 10b35e00c962ff509b79de9b7255472d9a1c1bde (diff) | |
download | src-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
-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 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() { |