]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Fix calling conventions
authorTom Yu <tlyu@mit.edu>
Mon, 28 Mar 2016 18:57:10 +0000 (14:57 -0400)
committerTom Yu <tlyu@mit.edu>
Wed, 30 Mar 2016 17:10:23 +0000 (13:10 -0400)
Commit fb4d426ddeb9d4802a53dfbd74189ef8eacbe65e added two new APIs but
didn't make the KRB5_CALLCONV decorations consistent between
declarations and definitions.  This broke the build on Windows.

ticket: 8386

src/lib/krb5/os/sendto_kdc.c

index 952228c160e9818f2dc5c7351a5f6b616e7b224a..1e505754b2e7070fa1eec427a0575909da4a6808 100644 (file)
@@ -399,7 +399,7 @@ check_for_svc_unavailable (krb5_context context,
     return 1;
 }
 
-void
+void KRB5_CALLCONV
 krb5_set_kdc_send_hook(krb5_context context, krb5_pre_send_fn send_hook,
                        void *data)
 {
@@ -407,7 +407,7 @@ krb5_set_kdc_send_hook(krb5_context context, krb5_pre_send_fn send_hook,
     context->kdc_send_hook_data = data;
 }
 
-void
+void KRB5_CALLCONV
 krb5_set_kdc_recv_hook(krb5_context context, krb5_post_recv_fn recv_hook,
                        void *data)
 {