From: Tom Yu Date: Mon, 28 Mar 2016 18:57:10 +0000 (-0400) Subject: Fix calling conventions X-Git-Tag: krb5-1.15-beta1~231 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f1c3d7bbe6fec23d4c64f5b69d0cd9c5f046cd8;p=thirdparty%2Fkrb5.git Fix calling conventions 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 --- diff --git a/src/lib/krb5/os/sendto_kdc.c b/src/lib/krb5/os/sendto_kdc.c index 952228c160..1e505754b2 100644 --- a/src/lib/krb5/os/sendto_kdc.c +++ b/src/lib/krb5/os/sendto_kdc.c @@ -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) {