Added extern "C" to gssapi_krb5.h
authorMiro Jurisic <meeroh@mit.edu>
Mon, 15 Mar 1999 20:27:42 +0000 (20:27 +0000)
committerMiro Jurisic <meeroh@mit.edu>
Mon, 15 Mar 1999 20:27:42 +0000 (20:27 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11289 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/gssapi/krb5/ChangeLog
src/lib/gssapi/krb5/gssapi_krb5.h

index e2c619bbaee4dd8d403bc928866719cd4b44a5fb..d398ee329e4ad148731df552e700d9a51ab17a71 100644 (file)
@@ -1,3 +1,7 @@
+1999-03-14  Miro Jurisic  <meeroh@mit.edu>
+
+       * gssapi_krb5.h: added extern "C" for C++ friendliness
+
 1999-03-14  Miro Jurisic  <meeroh@mit.edu>
 
        * set_ccache.c (gss_krb5_ccache_name): Now compiles
index 00833b896dc72173fc6a9d861979e391f4c5866e..5a768b6d5bf5031973dfe77a2439f6da286d8677 100644 (file)
 #endif
 #include <krb5.h>
 
+/* 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_ */