summaryrefslogtreecommitdiff
path: root/modules/pam_xauth/pam_xauth.c
diff options
context:
space:
mode:
authorMIZUTA Takeshi <mizuta.takeshi@fujitsu.com>2020-02-03 19:12:21 +0900
committerTomáš Mráz <t8m@users.noreply.github.com>2020-02-18 10:57:42 +0100
commita96e66f788b1460a8ef4c2883207d4474b829d10 (patch)
tree4498f9ef4bf95d6c9cdd1ac97a3267c1170f54c4 /modules/pam_xauth/pam_xauth.c
parent347691818ee80c46a9a2615bdf7733cf89bf6a4c (diff)
downloadlinux-pam-git-a96e66f788b1460a8ef4c2883207d4474b829d10.tar.gz
Remove redundant header file inclusion
There are some source code including the same header file redundantly. We remove these redundant header file inclusion.
Diffstat (limited to 'modules/pam_xauth/pam_xauth.c')
-rw-r--r--modules/pam_xauth/pam_xauth.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/pam_xauth/pam_xauth.c b/modules/pam_xauth/pam_xauth.c
index 61e98253..ea99bb03 100644
--- a/modules/pam_xauth/pam_xauth.c
+++ b/modules/pam_xauth/pam_xauth.c
@@ -50,7 +50,6 @@
#include <stdlib.h>
#include <string.h>
#include <syslog.h>
-#include <unistd.h>
#define PAM_SM_SESSION
@@ -62,7 +61,6 @@
#ifdef WITH_SELINUX
#include <selinux/selinux.h>
#include <selinux/label.h>
-#include <sys/stat.h>
#endif
#include "pam_cc_compat.h"