From b24cbe87f78de4fda81ed0fc5502275e77d51a28 Mon Sep 17 00:00:00 2001 From: Karl Ramm Date: Wed, 2 Feb 2011 05:26:22 +0000 Subject: make -DZ_DEBUG work --- h/zephyr/zephyr.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'h') diff --git a/h/zephyr/zephyr.h b/h/zephyr/zephyr.h index f23bb19..99874fd 100644 --- a/h/zephyr/zephyr.h +++ b/h/zephyr/zephyr.h @@ -257,7 +257,8 @@ struct sockaddr_in ZGetDestAddr (void); #ifdef Z_DEBUG -void ZSetDebug (void (*)(const char *, va_list, void *), void *); +void ZSetDebug (void (*)(const char *, va_list, void *), char *); +void Z_debug_stderr(const char *format, va_list args, void *closure); #define ZSetDebug(proc,closure) (__Z_debug_print=(proc), \ __Z_debug_print_closure=(closure), \ (void) 0) -- cgit v1.2.3