Date: Sat, 16 Apr 2011 11:01:36 +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-7@freebsd.org Subject: svn commit: r220707 - stable/7/tools/tools/aac Message-ID: <201104161101.p3GB1akm002603@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104161101.p3GB1akm002603>