summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorsten Kukuk <kukuk@thkukuk.de>2005-07-15 08:42:56 +0000
committerThorsten Kukuk <kukuk@thkukuk.de>2005-07-15 08:42:56 +0000
commit23acc0b552257ac850d820884b6df2c99ebab13b (patch)
tree70f9db4a9b96aa777b587656b0aa7dd3c84c2a65
parentcf86ad909955cb4f480e9e79baec2963fe73ef68 (diff)
Relevant BUGIDs: none
Purpose of commit: cleanup Commit summary: --------------- Remove duplicate/wrong place of _pam_aconf.h inclusion
-rw-r--r--modules/pam_selinux/pam_selinux.c7
-rw-r--r--modules/pam_umask/pam_umask.c4
2 files changed, 4 insertions, 7 deletions
diff --git a/modules/pam_selinux/pam_selinux.c b/modules/pam_selinux/pam_selinux.c
index 9235382a..290853d4 100644
--- a/modules/pam_selinux/pam_selinux.c
+++ b/modules/pam_selinux/pam_selinux.c
@@ -38,9 +38,6 @@
*
*/
-#define PAM_SM_AUTH
-#define PAM_SM_SESSION
-
#include "../../_pam_aconf.h"
#include <errno.h>
@@ -55,7 +52,9 @@
#include <fcntl.h>
#include <linux/limits.h>
-#include "../../_pam_aconf.h"
+#define PAM_SM_AUTH
+#define PAM_SM_SESSION
+
#include <security/pam_modules.h>
#include <security/_pam_macros.h>
#include <security/_pam_modutil.h>
diff --git a/modules/pam_umask/pam_umask.c b/modules/pam_umask/pam_umask.c
index c51ef800..9d406719 100644
--- a/modules/pam_umask/pam_umask.c
+++ b/modules/pam_umask/pam_umask.c
@@ -33,7 +33,7 @@
* OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#define _GNU_SOURCE
+#include <security/_pam_aconf.h>
#include <pwd.h>
#include <grp.h>
@@ -49,8 +49,6 @@
#define PAM_SM_SESSION
-#include <security/_pam_aconf.h>
-
#include <security/pam_modules.h>
#include <security/_pam_modutil.h>