diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2020-05-01 21:44:59 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2020-05-21 16:51:52 +0000 |
commit | 00bdd075714597515a0c6578c608f9853ccf36f1 (patch) | |
tree | 707821a1fa7f6054ed61de41ac31e17d673a48da /modules/pam_localuser/pam_localuser.c | |
parent | ac85f26ed489a9f8ecbf4775237dd1561a28bfbc (diff) | |
download | pam-00bdd075714597515a0c6578c608f9853ccf36f1.tar.gz pam-00bdd075714597515a0c6578c608f9853ccf36f1.tar.bz2 pam-00bdd075714597515a0c6578c608f9853ccf36f1.zip |
pam_localuser: remove unused includes
Also, remove unused MODULE_NAME macro.
* modules/pam_localuser/pam_localuser.c: Stop including unused header
files.
(MODULE_NAME): Remove.
Diffstat (limited to 'modules/pam_localuser/pam_localuser.c')
-rw-r--r-- | modules/pam_localuser/pam_localuser.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/modules/pam_localuser/pam_localuser.c b/modules/pam_localuser/pam_localuser.c index 2452563a..ca66462f 100644 --- a/modules/pam_localuser/pam_localuser.c +++ b/modules/pam_localuser/pam_localuser.c @@ -37,25 +37,16 @@ #include "config.h" -#include <errno.h> -#include <limits.h> +#include <stdio.h> #include <stdlib.h> #include <string.h> #include <syslog.h> -#include <stdio.h> -#include <stdarg.h> -#include <time.h> #include <unistd.h> -#include <sys/stat.h> -#include <sys/types.h> #include <security/pam_modules.h> -#include <security/_pam_macros.h> #include <security/pam_ext.h> #include "pam_inline.h" -#define MODULE_NAME "pam_localuser" - int pam_sm_authenticate (pam_handle_t *pamh, int flags UNUSED, int argc, const char **argv) |