* krb.h: Add extern "C" markers in case a C++ compiler is used
authorKen Raeburn <raeburn@mit.edu>
Wed, 18 Sep 2002 20:33:20 +0000 (20:33 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 18 Sep 2002 20:33:20 +0000 (20:33 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14872 dc483132-0cff-0310-8789-dd5450dbe970

src/include/kerberosIV/ChangeLog
src/include/kerberosIV/krb.h

index 2a6ebf38b8bf98bd79607c4af56dd880289ad021..46ea0826a600f0776fbe3bc6df7b80ec62959ad3 100644 (file)
@@ -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.
index 90d78aa10547f0c3163fb762de19d4276e769205..8e22835c1ec4d65ae5cb769a84f33305c95cab0d 100644 (file)
@@ -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 */