summaryrefslogtreecommitdiff
path: root/libpam/pam_static.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpam/pam_static.c')
-rw-r--r--libpam/pam_static.c19
1 files changed, 1 insertions, 18 deletions
diff --git a/libpam/pam_static.c b/libpam/pam_static.c
index 7ea4c81b..75f13414 100644
--- a/libpam/pam_static.c
+++ b/libpam/pam_static.c
@@ -14,24 +14,7 @@
#include "pam_private.h"
-/*
- * Need to include pointers to static modules; this was built by each
- * of the modules that register...
- */
-
-#include "../modules/_static_module_list"
-
-/*
- * and here is a structure that connects libpam to the above static
- * modules
- */
-
-static struct pam_module *static_modules[] = {
-
-#include "../modules/_static_module_entry"
-
- NULL
-};
+#include "pam_static_modules.h"
/*
* and now for the functions