summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorMiro Jurisic <meeroh@mit.edu>1999-07-14 23:27:36 +0000
committerMiro Jurisic <meeroh@mit.edu>1999-07-14 23:27:36 +0000
commit3d45dc49f2cbe4d1d60e717b564bda84e26bb53a (patch)
treebce5a5fa175362b6d2eb923ac440bd635543a061 /src/util
parent57c9db6786ba74401df7c973a368ae1884754ee7 (diff)
downloadkrb5-3d45dc49f2cbe4d1d60e717b564bda84e26bb53a.tar.gz
krb5-3d45dc49f2cbe4d1d60e717b564bda84e26bb53a.tar.xz
krb5-3d45dc49f2cbe4d1d60e717b564bda84e26bb53a.zip
Added #ifdef __cplusplus extern "C"
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11565 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/util')
-rw-r--r--src/util/profile/ChangeLog4
-rw-r--r--src/util/profile/profile.hin8
2 files changed, 12 insertions, 0 deletions
diff --git a/src/util/profile/ChangeLog b/src/util/profile/ChangeLog
index 719243cd40..c46b13b5db 100644
--- a/src/util/profile/ChangeLog
+++ b/src/util/profile/ChangeLog
@@ -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
diff --git a/src/util/profile/profile.hin b/src/util/profile/profile.hin
index 98f7d02150..51724b3e5d 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 */