diff options
author | Steve Langasek <vorlon@debian.org> | 2005-10-04 22:56:17 +0000 |
---|---|---|
committer | Steve Langasek <vorlon@debian.org> | 2005-10-04 22:56:17 +0000 |
commit | 593ea15559fedf71fdb6e6fdc23a8f2532f7d571 (patch) | |
tree | 28cdaff5577d35dddef82f123de60b72db41ab08 /libpam/include/security/pam_malloc.h | |
parent | 447b7fc84b8a47884d758fa5145b1bbfb043d466 (diff) | |
download | pam-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_malloc.h')
-rw-r--r-- | libpam/include/security/pam_malloc.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libpam/include/security/pam_malloc.h b/libpam/include/security/pam_malloc.h index 05ca16f0..a1062a5b 100644 --- a/libpam/include/security/pam_malloc.h +++ b/libpam/include/security/pam_malloc.h @@ -13,6 +13,10 @@ #ifndef PAM_MALLOC_H #define PAM_MALLOC_H +#ifdef __cplusplus +extern "C" { +#endif + /* these are the macro definitions for the stdlib.h memory functions */ #define malloc(s) pam_malloc(s,__FILE__,__FUNCTION__,__LINE__) @@ -66,4 +70,8 @@ extern FILE *pam_malloc_outfile; /* defaults to stdout */ extern int pam_malloc_flags; extern int pam_malloc_delay_length; /* how long to pause on errors */ +#ifdef __cplusplus +} +#endif + #endif /* PAM_MALLOC_H */ |