Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Apr 2011 11:04:17 +0000 (UTC)
From:      Bruce Cran <brucec@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r220708 - stable/8/tools/tools/aac
Message-ID:  <201104161104.p3GB4HxB002698@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104161104.p3GB4HxB002698>