From e6bcbac1f7ab22018bb12f6bbf3ecb579615dc47 Mon Sep 17 00:00:00 2001 From: Rebecca Cran Date: Fri, 11 Mar 2011 18:51:42 +0000 Subject: [PATCH] Fix warnings and set WARNS to 6. MFC after: 1 week --- tools/tools/aac/Makefile | 1 + tools/tools/aac/aac_checkq.c | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/tools/tools/aac/Makefile b/tools/tools/aac/Makefile index d245d47a672..7a472321a03 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 diff --git a/tools/tools/aac/aac_checkq.c b/tools/tools/aac/aac_checkq.c index 024e3daa36a..62eedb20aa5 100644 --- a/tools/tools/aac/aac_checkq.c +++ b/tools/tools/aac/aac_checkq.c @@ -34,7 +34,11 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include +#include + +void usage(void); /* * Simple program to print out the queue stats on the given queue index.