krb5 commit: Fix calling conventions
Tom Yu
tlyu at mit.edu
Wed Mar 30 13:11:40 EDT 2016
https://github.com/krb5/krb5/commit/0f1c3d7bbe6fec23d4c64f5b69d0cd9c5f046cd8
commit 0f1c3d7bbe6fec23d4c64f5b69d0cd9c5f046cd8
Author: Tom Yu <tlyu at mit.edu>
Date: Mon Mar 28 14:57:10 2016 -0400
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 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/lib/krb5/os/sendto_kdc.c b/src/lib/krb5/os/sendto_kdc.c
index 952228c..1e50575 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)
{
More information about the cvs-krb5
mailing list