diff options
author | Karl Ramm <kcr@1ts.org> | 2011-02-02 05:26:22 +0000 |
---|---|---|
committer | Karl Ramm <kcr@1ts.org> | 2011-02-02 05:26:22 +0000 |
commit | b24cbe87f78de4fda81ed0fc5502275e77d51a28 (patch) | |
tree | a74c33442d635b8e1df487769bef080eff217f7b /h | |
parent | fc8b21401978bf891fbd13855ac6c8b1f07bae3c (diff) |
make -DZ_DEBUG work
Diffstat (limited to 'h')
-rw-r--r-- | h/zephyr/zephyr.h | 3 |
1 files changed, 2 insertions, 1 deletions
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) |