From: Miro Jurisic Date: Wed, 14 Jul 1999 23:27:36 +0000 (+0000) Subject: Added #ifdef __cplusplus extern "C" X-Git-Tag: krb5-1.1-beta1~58 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3d45dc49f2cbe4d1d60e717b564bda84e26bb53a;p=krb5.git Added #ifdef __cplusplus extern "C" git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11565 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/util/profile/ChangeLog b/src/util/profile/ChangeLog index 719243cd4..c46b13b5d 100644 --- a/src/util/profile/ChangeLog +++ b/src/util/profile/ChangeLog @@ -1,3 +1,7 @@ +1999-07-14 Miro Jurisic + + * profile.hin: added #ifdef __cplusplus extern "C" + 1999-06-23 Danilo Almeida * prof_init.c (profile_abandon, profile_release): Check whether diff --git a/src/util/profile/profile.hin b/src/util/profile/profile.hin index 98f7d0215..51724b3e5 100644 --- a/src/util/profile/profile.hin +++ b/src/util/profile/profile.hin @@ -36,6 +36,10 @@ typedef struct _profile_t *profile_t; #define PROFILE_ITER_SECTIONS_ONLY 0x0002 #define PROFILE_ITER_RELATIONS_ONLY 0x0004 +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + KRB5_DLLIMP long KRB5_CALLCONV profile_init PROTOTYPE ((const char **filenames, profile_t *ret_profile)); @@ -99,4 +103,8 @@ KRB5_DLLIMP long KRB5_CALLCONV profile_add_relation PROTOTYPE((profile_t profile, const char **names, const char *new_value)); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif /* _KRB5_PROFILE_H */