From 593ea15559fedf71fdb6e6fdc23a8f2532f7d571 Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Tue, 4 Oct 2005 22:56:17 +0000 Subject: Relevant BUGIDs: Debian bug #53653 Purpose of commit: cleanup Commit summary: --------------- Declare public header files extern "C" so that they are C++-safe. --- libpam/include/security/pam_modules.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libpam/include/security/pam_modules.h') 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 /* 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 +#ifdef __cplusplus +} +#endif + /* Copyright (C) Theodore Ts'o, 1996. * Copyright (C) Andrew Morgan, 1996-8. * All rights reserved. -- cgit v1.2.3