Added #ifdef __cplusplus extern "C"
authorMiro Jurisic <meeroh@mit.edu>
Wed, 14 Jul 1999 23:27:36 +0000 (23:27 +0000)
committerMiro Jurisic <meeroh@mit.edu>
Wed, 14 Jul 1999 23:27:36 +0000 (23:27 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11565 dc483132-0cff-0310-8789-dd5450dbe970

src/util/profile/ChangeLog
src/util/profile/profile.hin

index 719243cd40c7600e6b15149ab39ed37d4903953c..c46b13b5dbf93c112510e2f1d6d60ae8038b9e63 100644 (file)
@@ -1,3 +1,7 @@
+1999-07-14 Miro Jurisic   <meeroh@mit.edu>
+
+       * profile.hin: added #ifdef __cplusplus extern "C" 
+
 1999-06-23  Danilo Almeida  <dalmeida@mit.edu>
 
        * prof_init.c (profile_abandon, profile_release): Check whether
index 98f7d02150c474a2ca1997765bb5e82e5e129e8f..51724b3e5d32aef6be346ef99ae85e083b720c27 100644 (file)
@@ -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 */