aboutsummaryrefslogtreecommitdiff
path: root/libpam/include/security/pam_modules.h
diff options
context:
space:
mode:
authorSteve Langasek <vorlon@debian.org>2005-10-04 22:56:17 +0000
committerSteve Langasek <vorlon@debian.org>2005-10-04 22:56:17 +0000
commit593ea15559fedf71fdb6e6fdc23a8f2532f7d571 (patch)
tree28cdaff5577d35dddef82f123de60b72db41ab08 /libpam/include/security/pam_modules.h
parent447b7fc84b8a47884d758fa5145b1bbfb043d466 (diff)
downloadpam-593ea15559fedf71fdb6e6fdc23a8f2532f7d571.tar.gz
pam-593ea15559fedf71fdb6e6fdc23a8f2532f7d571.tar.bz2
pam-593ea15559fedf71fdb6e6fdc23a8f2532f7d571.zip
Relevant BUGIDs: Debian bug #53653
Purpose of commit: cleanup Commit summary: --------------- Declare public header files extern "C" so that they are C++-safe.
Diffstat (limited to 'libpam/include/security/pam_modules.h')
-rw-r--r--libpam/include/security/pam_modules.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libpam/include/security/pam_modules.h b/libpam/include/security/pam_modules.h
index c315ac26..4476e375 100644
--- a/libpam/include/security/pam_modules.h
+++ b/libpam/include/security/pam_modules.h
@@ -8,6 +8,10 @@
#ifndef _SECURITY_PAM_MODULES_H
#define _SECURITY_PAM_MODULES_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include <security/_pam_types.h> /* Linux-PAM common defined types */
/* -------------- The Linux-PAM Module PI ------------- */
@@ -126,6 +130,10 @@ PAM_EXTERN int pam_sm_chauthtok(pam_handle_t *pamh, int flags,
/* take care of any compatibility issues */
#include <security/_pam_compat.h>
+#ifdef __cplusplus
+}
+#endif
+
/* Copyright (C) Theodore Ts'o, 1996.
* Copyright (C) Andrew Morgan, 1996-8.
* All rights reserved.