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

@@ -23,6 +23,8 @@
#include <config.h>
#ifdef HAVE_SIA_SES_INIT
#include <sys/types.h>
#include <stdio.h>
#ifdef STDC_HEADERS
@@ -153,3 +155,5 @@ sudo_sia_cleanup(struct passwd *pw, sudo_auth *auth)
sudo_efree(sudo_argv);
debug_return_int(AUTH_SUCCESS);
}
#endif /* HAVE_SIA_SES_INIT */