From: Ken Raeburn Date: Wed, 18 Sep 2002 20:33:20 +0000 (+0000) Subject: * krb.h: Add extern "C" markers in case a C++ compiler is used X-Git-Tag: krb5-1.3-alpha1~379 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=11016bab023414f989026f68071bed5ed7df4081;p=krb5.git * 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 --- diff --git a/src/include/kerberosIV/ChangeLog b/src/include/kerberosIV/ChangeLog index 2a6ebf38b..46ea0826a 100644 --- a/src/include/kerberosIV/ChangeLog +++ b/src/include/kerberosIV/ChangeLog @@ -1,3 +1,7 @@ +2002-09-18 Ken Raeburn + + * krb.h: Add extern "C" markers in case a C++ compiler is used. + 2002-08-29 Ken Raeburn * Makefile.in: Revert $(S)=>/ change, for Windows support. diff --git a/src/include/kerberosIV/krb.h b/src/include/kerberosIV/krb.h index 90d78aa10..8e22835c1 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 */