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

@@ -20,6 +20,8 @@
#include <config.h>
#ifdef HAVE_AIXAUTH
#include <sys/types.h>
#include <stdio.h>
#ifdef STDC_HEADERS
@@ -183,3 +185,5 @@ sudo_aix_cleanup(struct passwd *pw, sudo_auth *auth)
debug_return_int(AUTH_SUCCESS);
}
#endif /* HAVE_AIXAUTH */