summaryrefslogtreecommitdiff
path: root/libpam/pam_static.c
diff options
context:
space:
mode:
authorThorsten Kukuk <kukuk@thkukuk.de>2006-01-22 15:40:58 +0000
committerThorsten Kukuk <kukuk@thkukuk.de>2006-01-22 15:40:58 +0000
commita5c4da8d631c538490c1920689d590c19a60f1d6 (patch)
tree9e3a8eec690a10f484114a915e1aea21a6af0e25 /libpam/pam_static.c
parent5116bebb80ac7ee441c66b1a884d2653755dc4d9 (diff)
Relevant BUGIDs: none
Purpose of commit: bugfix Commit summary: --------------- Fix infrastructure and compile errors for PAM_STATIC (static modules): 2006-01-22 Thorsten Kukuk <kukuk@thkukuk.de> * modules/pam_succeed_if/pam_succeed_if.c (pam_sm_acct_mgmt): Add support for static modules. * modules/pam_xauth/pam_xauth.c: Likewise. * libpam/pam_handlers.c (_pam_add_handler): Add pamh to _pam_open_static_handler call. * libpam/pam_static.c (_pam_open_static_handler): Add pamh as argument. * libpam/pam_private.h: Adjust prototype.
Diffstat (limited to 'libpam/pam_static.c')
-rw-r--r--libpam/pam_static.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libpam/pam_static.c b/libpam/pam_static.c
index e2c6aac3..7ea4c81b 100644
--- a/libpam/pam_static.c
+++ b/libpam/pam_static.c
@@ -1,8 +1,7 @@
-/* pam_static.c -- static module loading helper functions */
-
-/* created by Michael K. Johnson, johnsonm@redhat.com
+/*
+ * pam_static.c -- static module loading helper functions
*
- * $Id$
+ * created by Michael K. Johnson, johnsonm@redhat.com
*/
/* This whole file is only used for PAM_STATIC */
@@ -39,7 +38,8 @@ static struct pam_module *static_modules[] = {
*/
/* Return pointer to data structure used to define a static module */
-struct pam_module * _pam_open_static_handler(const char *path)
+struct pam_module *
+_pam_open_static_handler (pam_handle_t *pamh, const char *path)
{
int i;
const char *clpath = path;