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:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user