From 0f1c3d7bbe6fec23d4c64f5b69d0cd9c5f046cd8 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Mon, 28 Mar 2016 14:57:10 -0400 Subject: [PATCH] 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 --- src/lib/krb5/os/sendto_kdc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { -- 2.47.2