diff options
author | Andrew G. Morgan <morgan@kernel.org> | 2000-08-11 05:11:04 +0000 |
---|---|---|
committer | Andrew G. Morgan <morgan@kernel.org> | 2000-08-11 05:11:04 +0000 |
commit | bf8c2ffc41c3fbff54fc268c94150d81bb45682e (patch) | |
tree | dd35101829803ef67131f358817b2a4241a1000e /libpam | |
parent | ac3e870d097686a364612e9430a16c7a949eb4b7 (diff) | |
download | pam-bf8c2ffc41c3fbff54fc268c94150d81bb45682e.tar.gz pam-bf8c2ffc41c3fbff54fc268c94150d81bb45682e.tar.bz2 pam-bf8c2ffc41c3fbff54fc268c94150d81bb45682e.zip |
Relevant BUGIDs: 111645
Purpose of commit: bugfix
Commit summary:
---------------
C++ support was broken for PAM-applications, this checkin should fix it.
I've received this bug report from numerous folk.
Diffstat (limited to 'libpam')
-rw-r--r-- | libpam/include/security/pam_appl.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libpam/include/security/pam_appl.h b/libpam/include/security/pam_appl.h index 2849970a..b2eeb9f0 100644 --- a/libpam/include/security/pam_appl.h +++ b/libpam/include/security/pam_appl.h @@ -16,14 +16,14 @@ #ifndef _SECURITY_PAM_APPL_H #define _SECURITY_PAM_APPL_H -#include <security/_pam_types.h> /* Linux-PAM common defined types */ - -/* -------------- The Linux-PAM Framework layer API ------------- */ - #ifdef __cplusplus extern "C" { #endif +#include <security/_pam_types.h> /* Linux-PAM common defined types */ + +/* -------------- The Linux-PAM Framework layer API ------------- */ + extern int pam_start(const char *service_name, const char *user, const struct pam_conv *pam_conversation, pam_handle_t **pamh); |