From: Miro Jurisic Date: Mon, 15 Mar 1999 20:27:42 +0000 (+0000) Subject: Added extern "C" to gssapi_krb5.h X-Git-Tag: krb5-1.1-beta1~277 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=63412b7c1b2eee7b5f3c117731507b04ee0ec442;p=krb5.git Added extern "C" to gssapi_krb5.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11289 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/gssapi/krb5/ChangeLog b/src/lib/gssapi/krb5/ChangeLog index e2c619bba..d398ee329 100644 --- a/src/lib/gssapi/krb5/ChangeLog +++ b/src/lib/gssapi/krb5/ChangeLog @@ -1,3 +1,7 @@ +1999-03-14 Miro Jurisic + + * gssapi_krb5.h: added extern "C" for C++ friendliness + 1999-03-14 Miro Jurisic * set_ccache.c (gss_krb5_ccache_name): Now compiles diff --git a/src/lib/gssapi/krb5/gssapi_krb5.h b/src/lib/gssapi/krb5/gssapi_krb5.h index 00833b896..5a768b6d5 100644 --- a/src/lib/gssapi/krb5/gssapi_krb5.h +++ b/src/lib/gssapi/krb5/gssapi_krb5.h @@ -30,6 +30,11 @@ #endif #include +/* C++ friendlyness */ +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + extern const gss_OID_desc * const gss_mech_krb5; extern const gss_OID_desc * const gss_mech_krb5_old; extern const gss_OID_desc * const gss_mech_krb5_v2; @@ -72,4 +77,8 @@ OM_uint32 krb5_gss_set_backward_mode PROTOTYPE((OM_uint32 *minor_status, int mode)); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif /* _GSSAPI_KRB5_H_ */