krb5.hin: Fix realm iterator prototypes so that they use
authorTheodore Tso <tytso@mit.edu>
Thu, 21 Jan 1999 20:24:39 +0000 (20:24 +0000)
committerTheodore Tso <tytso@mit.edu>
Thu, 21 Jan 1999 20:24:39 +0000 (20:24 +0000)
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

index 1233671aab356b02e29184d7f2e44669b2260ef7..630e8d213ff85c9773fe88da433261b32de29b8b 100644 (file)
@@ -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__ */