Date: Fri, 11 Mar 2011 18:51:42 +0000 (UTC) From: Bruce Cran <brucec@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r219522 - head/tools/tools/aac Message-ID: <201103111851.p2BIpgKE090097@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: brucec Date: Fri Mar 11 18:51:42 2011 New Revision: 219522 URL: http://svn.freebsd.org/changeset/base/219522 Log: Fix warnings and set WARNS to 6. MFC after: 1 week Modified: head/tools/tools/aac/Makefile head/tools/tools/aac/aac_checkq.c Modified: head/tools/tools/aac/Makefile ============================================================================== --- head/tools/tools/aac/Makefile Fri Mar 11 18:48:28 2011 (r219521) +++ head/tools/tools/aac/Makefile Fri Mar 11 18:51:42 2011 (r219522) @@ -2,6 +2,7 @@ PROG= aac_checkq NO_MAN= +WARNS?=6 BINDIR?=/usr/local/bin .include <bsd.prog.mk> Modified: head/tools/tools/aac/aac_checkq.c ============================================================================== --- head/tools/tools/aac/aac_checkq.c Fri Mar 11 18:48:28 2011 (r219521) +++ head/tools/tools/aac/aac_checkq.c Fri Mar 11 18:51:42 2011 (r219522) @@ -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?201103111851.p2BIpgKE090097>