]> granicus.if.org Git - linux-pam/commitdiff
Relevant BUGIDs: 111645
authorAndrew G. Morgan <morgan@kernel.org>
Fri, 11 Aug 2000 05:11:04 +0000 (05:11 +0000)
committerAndrew G. Morgan <morgan@kernel.org>
Fri, 11 Aug 2000 05:11:04 +0000 (05:11 +0000)
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.

CHANGELOG
libpam/include/security/pam_appl.h

index 03efefb84714f8938b928c86a9f8bb7ff4fd97eb..4286232348e2f614c11393069b10d0dc0350142b 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -29,6 +29,7 @@ TODO:
   file, instead of failing immediately (Bug 108845 - fix vorlon)
 * fix to pam_shells: logged information was not formatted correctly
   (extra comma) (Bug 111491 - fix vorlon)
+* fix for C++ application support (Bug 111645 - fix agmorgan)
 
 Planning to include:
 
index 2849970a9f93cdb96d4cb73a1d7d595b139039ad..b2eeb9f0efd8fec09b2724a7827b190576bb4775 100644 (file)
 #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);