diff options
-rw-r--r-- | libpam/pam_data.c | 2 | ||||
-rw-r--r-- | libpam/pam_get_authtok.c | 1 | ||||
-rw-r--r-- | libpam/pam_modutil_searchkey.c | 2 | ||||
-rw-r--r-- | libpam/pam_syslog.c | 4 | ||||
-rw-r--r-- | libpam/pam_vprompt.c | 6 | ||||
-rw-r--r-- | tests/tst-pam_set_data.c | 5 |
6 files changed, 4 insertions, 16 deletions
diff --git a/libpam/pam_data.c b/libpam/pam_data.c index c457d5ce..2ad2a168 100644 --- a/libpam/pam_data.c +++ b/libpam/pam_data.c @@ -31,8 +31,6 @@ * OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include "config.h" - #include "pam_private.h" #include <stdlib.h> diff --git a/libpam/pam_get_authtok.c b/libpam/pam_get_authtok.c index 3f383339..7a38698a 100644 --- a/libpam/pam_get_authtok.c +++ b/libpam/pam_get_authtok.c @@ -31,7 +31,6 @@ * OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include "config.h" #include "pam_private.h" #include "pam_inline.h" diff --git a/libpam/pam_modutil_searchkey.c b/libpam/pam_modutil_searchkey.c index ccf2461f..1a497f8f 100644 --- a/libpam/pam_modutil_searchkey.c +++ b/libpam/pam_modutil_searchkey.c @@ -4,8 +4,6 @@ * lookup a value for key in login.defs file or similar key value format */ -#include "config.h" - #include "pam_private.h" #include "pam_modutil_private.h" #include <security/pam_ext.h> diff --git a/libpam/pam_syslog.c b/libpam/pam_syslog.c index c5a6feca..e67f713f 100644 --- a/libpam/pam_syslog.c +++ b/libpam/pam_syslog.c @@ -31,7 +31,7 @@ * OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include "config.h" +#include "pam_private.h" #include <stdio.h> #include <stdlib.h> @@ -43,8 +43,6 @@ #include <security/_pam_macros.h> #include <security/pam_ext.h> -#include "pam_private.h" - #ifndef LOG_AUTHPRIV #define LOG_AUTHPRIV LOG_AUTH #endif diff --git a/libpam/pam_vprompt.c b/libpam/pam_vprompt.c index 8c9d63d5..a16f6004 100644 --- a/libpam/pam_vprompt.c +++ b/libpam/pam_vprompt.c @@ -31,7 +31,8 @@ * OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include "config.h" +#include "pam_private.h" +#include "pam_inline.h" #include <stdio.h> #include <stdlib.h> @@ -42,9 +43,6 @@ #include <security/pam_modules.h> #include <security/pam_ext.h> -#include "pam_private.h" -#include "pam_inline.h" - int pam_vprompt (pam_handle_t *pamh, int style, char **response, const char *fmt, va_list args) diff --git a/tests/tst-pam_set_data.c b/tests/tst-pam_set_data.c index d1eaa3ea..3fbe062e 100644 --- a/tests/tst-pam_set_data.c +++ b/tests/tst-pam_set_data.c @@ -31,9 +31,7 @@ * OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif +#include <pam_private.h> #include <stdio.h> #include <unistd.h> @@ -41,7 +39,6 @@ #include <security/pam_appl.h> #include <security/pam_modules.h> -#include <pam_private.h> static int cleanup_was_called = 0; static int cleanup3_was_called = 0; |