summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2002-09-18 20:33:20 +0000
committerKen Raeburn <raeburn@mit.edu>2002-09-18 20:33:20 +0000
commit11016bab023414f989026f68071bed5ed7df4081 (patch)
tree4ecf463b2a29a5697cb9e16b7e41bbdfd70e8e31
parentb279d10d4b4ef1063c5c6c7e5eb9d5526a011f24 (diff)
downloadkrb5-11016bab023414f989026f68071bed5ed7df4081.tar.gz
krb5-11016bab023414f989026f68071bed5ed7df4081.tar.xz
krb5-11016bab023414f989026f68071bed5ed7df4081.zip
* krb.h: Add extern "C" markers in case a C++ compiler is used
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14872 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r--src/include/kerberosIV/ChangeLog4
-rw-r--r--src/include/kerberosIV/krb.h8
2 files changed, 12 insertions, 0 deletions
diff --git a/src/include/kerberosIV/ChangeLog b/src/include/kerberosIV/ChangeLog
index 2a6ebf38b8..46ea0826a6 100644
--- a/src/include/kerberosIV/ChangeLog
+++ b/src/include/kerberosIV/ChangeLog
@@ -1,3 +1,7 @@
+2002-09-18 Ken Raeburn <raeburn@mit.edu>
+
+ * krb.h: Add extern "C" markers in case a C++ compiler is used.
+
2002-08-29 Ken Raeburn <raeburn@mit.edu>
* Makefile.in: Revert $(S)=>/ change, for Windows support.
diff --git a/src/include/kerberosIV/krb.h b/src/include/kerberosIV/krb.h
index 90d78aa105..8e22835c1e 100644
--- a/src/include/kerberosIV/krb.h
+++ b/src/include/kerberosIV/krb.h
@@ -379,6 +379,10 @@ extern struct _krb5_context * krb5__krb4_context;
struct sockaddr_in;
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* dest_tkt.c */
int KRB5_CALLCONV dest_tkt
(void);
@@ -653,4 +657,8 @@ unsigned KRB4_32 win_time_gmt_unixsec(unsigned KRB4_32 *);
long win_time_get_epoch(void);
#endif
+#ifdef __cplusplus
+}
+#endif
+
#endif /* KRB_DEFS */