From f0c7610c59d395a182c977052478ae35d6e8fa31 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Thu, 21 Jan 1999 20:24:39 +0000 Subject: [PATCH] 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 --- src/include/krb5.hin | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) 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__ */ -- 2.26.2