svn commit: r220707 - stable/7/tools/tools/aac

Bruce Cran brucec at FreeBSD.org
Sat Apr 16 11:01:36 UTC 2011


Author: brucec
Date: Sat Apr 16 11:01:35 2011
New Revision: 220707
URL: http://svn.freebsd.org/changeset/base/220707

Log:
  MFC r219522:
  
  Fix warnings and set WARNS to 6.

Modified:
  stable/7/tools/tools/aac/Makefile
  stable/7/tools/tools/aac/aac_checkq.c
Directory Properties:
  stable/7/tools/tools/aac/   (props changed)

Modified: stable/7/tools/tools/aac/Makefile
==============================================================================
--- stable/7/tools/tools/aac/Makefile	Sat Apr 16 10:58:25 2011	(r220706)
+++ stable/7/tools/tools/aac/Makefile	Sat Apr 16 11:01:35 2011	(r220707)
@@ -2,6 +2,7 @@
 
 PROG=	aac_checkq
 NO_MAN=
+WARNS?=6
 BINDIR?=/usr/local/bin
 
 .include <bsd.prog.mk>

Modified: stable/7/tools/tools/aac/aac_checkq.c
==============================================================================
--- stable/7/tools/tools/aac/aac_checkq.c	Sat Apr 16 10:58:25 2011	(r220706)
+++ stable/7/tools/tools/aac/aac_checkq.c	Sat Apr 16 11:01:35 2011	(r220707)
@@ -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