diff options
author | brucec <brucec@FreeBSD.org> | 2011-03-11 18:51:42 +0000 |
---|---|---|
committer | brucec <brucec@FreeBSD.org> | 2011-03-11 18:51:42 +0000 |
commit | 48d19c106deabea6d3ed85269a7c7d9479cc36b7 (patch) | |
tree | 0cac393f1b9bc8a362f9a0b2eb52aa84c927b567 /tools | |
parent | 80d4acd0619200749bd7f7a29aa1c013483087d5 (diff) | |
download | FreeBSD-src-48d19c106deabea6d3ed85269a7c7d9479cc36b7.zip FreeBSD-src-48d19c106deabea6d3ed85269a7c7d9479cc36b7.tar.gz |
Fix warnings and set WARNS to 6.
MFC after: 1 week
Diffstat (limited to 'tools')
-rw-r--r-- | tools/tools/aac/Makefile | 1 | ||||
-rw-r--r-- | tools/tools/aac/aac_checkq.c | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/tools/tools/aac/Makefile b/tools/tools/aac/Makefile index d245d47..7a47232 100644 --- a/tools/tools/aac/Makefile +++ b/tools/tools/aac/Makefile @@ -2,6 +2,7 @@ PROG= aac_checkq NO_MAN= +WARNS?=6 BINDIR?=/usr/local/bin .include <bsd.prog.mk> diff --git a/tools/tools/aac/aac_checkq.c b/tools/tools/aac/aac_checkq.c index 024e3da..62eedb2 100644 --- a/tools/tools/aac/aac_checkq.c +++ b/tools/tools/aac/aac_checkq.c @@ -34,7 +34,11 @@ __FBSDID("$FreeBSD$"); #include <errno.h> #include <stdio.h> #include <stdlib.h> +#include <string.h> #include <strings.h> +#include <unistd.h> + +void usage(void); /* * Simple program to print out the queue stats on the given queue index. |