From 63412b7c1b2eee7b5f3c117731507b04ee0ec442 Mon Sep 17 00:00:00 2001 From: Miro Jurisic Date: Mon, 15 Mar 1999 20:27:42 +0000 Subject: [PATCH] Added extern "C" to gssapi_krb5.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11289 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/gssapi/krb5/ChangeLog | 4 ++++ src/lib/gssapi/krb5/gssapi_krb5.h | 9 +++++++++ 2 files changed, 13 insertions(+) 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_ */ -- 2.26.2