Add target for "make splint". A few files need extra guards to avoid

errors on systems where they would not otherwise be compiled.
No warnings from splint.
This commit is contained in:
Todd C. Miller
2015-05-21 11:07:13 -06:00
parent a40cf3e288
commit 1298ea9107
27 changed files with 119 additions and 0 deletions

View File

@@ -16,6 +16,8 @@
#include <config.h>
#ifdef HAVE_LINUX_AUDIT
#include <sys/types.h>
#include <stdio.h>
#ifdef STDC_HEADERS
@@ -103,3 +105,5 @@ done:
debug_return_int(rc);
}
#endif /* HAVE_LINUX_AUDIT */