From d1ad04f241928b36de996f59add0a9ee33701841 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Wed, 9 Jun 2004 00:06:34 +0000 Subject: [PATCH] * sendto_kdc.c (krb5int_sendtokdc_debug_handler) [!DEBUG]: Define as a macro, not a variable. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16425 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/os/ChangeLog | 5 +++++ src/lib/krb5/os/sendto_kdc.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog index 07ab6ee09..511e842c6 100644 --- a/src/lib/krb5/os/ChangeLog +++ b/src/lib/krb5/os/ChangeLog @@ -1,3 +1,8 @@ +2004-06-08 Ken Raeburn + + * sendto_kdc.c (krb5int_sendtokdc_debug_handler) [!DEBUG]: Define + as a macro, not a variable. + 2004-06-04 Ken Raeburn * kuserok.c (krb5_kuserok): Handle draft POSIX versions of diff --git a/src/lib/krb5/os/sendto_kdc.c b/src/lib/krb5/os/sendto_kdc.c index 3f8eb777f..d5c40e5d3 100644 --- a/src/lib/krb5/os/sendto_kdc.c +++ b/src/lib/krb5/os/sendto_kdc.c @@ -82,7 +82,7 @@ static void putstr(const char *str) put(str, strlen(str)); } #else -void (*krb5int_sendtokdc_debug_handler) (const void *, size_t) = 0; +#define krb5int_sendtokdc_debug_handler ((void (*) (const void *, size_t))0) #endif #define dprint krb5int_debug_fprint -- 2.26.2