PERFORCE change 90058 for review
Robert Watson
rwatson at FreeBSD.org
Sat Jan 21 12:05:03 GMT 2006
http://perforce.freebsd.org/chv.cgi?CH=90058
Change 90058 by rwatson at 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.
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list