Date: Sat, 21 Jan 2006 12:05:03 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 90058 for review Message-ID: <200601211205.k0LC5378069522@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=90058 Change 90058 by rwatson@rwatson_sesame on 2006/01/21 12:04:59 Missing includes, warnings. Submitted by: phk Found with: FlexeLint Affected files ... .. //depot/projects/trustedbsd/openbsm/tools/Makefile#2 edit .. //depot/projects/trustedbsd/openbsm/tools/audump.c#3 edit Differences ... ==== //depot/projects/trustedbsd/openbsm/tools/Makefile#2 (text+ko) ==== @@ -8,5 +8,6 @@ DPADD= /usr/lib/libbsm.a LDADD= -lbsm BINDIR= /usr/sbin +WARNS= 3 .include <bsd.prog.mk> ==== //depot/projects/trustedbsd/openbsm/tools/audump.c#3 (text+ko) ==== @@ -25,8 +25,11 @@ */ #include <bsm/libbsm.h> +#include <string.h> +#include <err.h> #include <limits.h> #include <stdio.h> +#include <stdlib.h> /* * Simple tool to dump various /etc/security databases using the defined APIs.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601211205.k0LC5378069522>