From: Theodore Tso Date: Thu, 21 Jan 1999 20:24:39 +0000 (+0000) Subject: krb5.hin: Fix realm iterator prototypes so that they use X-Git-Tag: krb5-1.1-beta1~410 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f0c7610c59d395a182c977052478ae35d6e8fa31;p=krb5.git krb5.hin: Fix realm iterator prototypes so that they use KRB5_PROTOTYPE, and surround them with extern "C" so things work under C++. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11114 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/krb5.hin b/src/include/krb5.hin index 1233671aa..630e8d213 100644 --- a/src/include/krb5.hin +++ b/src/include/krb5.hin @@ -2385,17 +2385,25 @@ KRB5_PROTOTYPE((krb5_context context, /* * The realm iterator functions */ +#ifdef __cplusplus +extern "C" { +#endif + KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_realm_iterator_create - PROTOTYPE((krb5_context context, void **iter_p)); + KRB5_PROTOTYPE((krb5_context context, void **iter_p)); KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_realm_iterator - PROTOTYPE((krb5_context context, void **iter_p, char **ret_realm)); + KRB5_PROTOTYPE((krb5_context context, void **iter_p, char **ret_realm)); KRB5_DLLIMP void KRB5_CALLCONV krb5_realm_iterator_free - PROTOTYPE((krb5_context context, void **iter_p)); + KRB5_PROTOTYPE((krb5_context context, void **iter_p)); KRB5_DLLIMP void KRB5_CALLCONV krb5_free_realm_string - PROTOTYPE((krb5_context context, char *str)); + KRB5_PROTOTYPE((krb5_context context, char *str)); + +#ifdef __cplusplus +} +#endif #endif /* KRB5_GENERAL__ */