svn commit: r220708 - stable/8/tools/tools/aac
Bruce Cran
brucec at FreeBSD.org
Sat Apr 16 11:04:17 UTC 2011
Author: brucec
Date: Sat Apr 16 11:04:17 2011
New Revision: 220708
URL: http://svn.freebsd.org/changeset/base/220708
Log:
MFC r219522:
Fix warnings and set WARNS to 6.
Modified:
stable/8/tools/tools/aac/Makefile
stable/8/tools/tools/aac/aac_checkq.c
Directory Properties:
stable/8/tools/tools/aac/ (props changed)
Modified: stable/8/tools/tools/aac/Makefile
==============================================================================
--- stable/8/tools/tools/aac/Makefile Sat Apr 16 11:01:35 2011 (r220707)
+++ stable/8/tools/tools/aac/Makefile Sat Apr 16 11:04:17 2011 (r220708)
@@ -2,6 +2,7 @@
PROG= aac_checkq
NO_MAN=
+WARNS?=6
BINDIR?=/usr/local/bin
.include <bsd.prog.mk>
Modified: stable/8/tools/tools/aac/aac_checkq.c
==============================================================================
--- stable/8/tools/tools/aac/aac_checkq.c Sat Apr 16 11:01:35 2011 (r220707)
+++ stable/8/tools/tools/aac/aac_checkq.c Sat Apr 16 11:04:17 2011 (r220708)
@@ -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.
More information about the svn-src-all
mailing list