diff options
Diffstat (limited to 'usr.sbin/relayd')
-rw-r--r-- | usr.sbin/relayd/relay.c | 8 | ||||
-rw-r--r-- | usr.sbin/relayd/relayd.h | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/usr.sbin/relayd/relay.c b/usr.sbin/relayd/relay.c index 5f01a3a5fe1..0086cf66fa6 100644 --- a/usr.sbin/relayd/relay.c +++ b/usr.sbin/relayd/relay.c @@ -1,4 +1,4 @@ -/* $OpenBSD: relay.c,v 1.80 2008/01/31 12:12:50 thib Exp $ */ +/* $OpenBSD: relay.c,v 1.81 2008/02/04 12:05:26 thib Exp $ */ /* * Copyright (c) 2006, 2007 Reyk Floeter <reyk@openbsd.org> @@ -138,12 +138,6 @@ struct imsgbuf *ibuf_pfe; struct imsgbuf *ibuf_main; int proc_id; -#if DEBUG > 1 -#define DPRINTF log_debug -#else -#define DPRINTF(x...) do { } while(0) -#endif - void relay_sig_handler(int sig, short event, void *arg) { diff --git a/usr.sbin/relayd/relayd.h b/usr.sbin/relayd/relayd.h index 634470a4e90..8b01ed8207c 100644 --- a/usr.sbin/relayd/relayd.h +++ b/usr.sbin/relayd/relayd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: relayd.h,v 1.94 2008/02/04 12:01:33 thib Exp $ */ +/* $OpenBSD: relayd.h,v 1.95 2008/02/04 12:05:26 thib Exp $ */ /* * Copyright (c) 2006, 2007 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -56,6 +56,12 @@ #define PURGE_PROTOS 0x08 #define PURGE_EVERYTHING 0xff +#if DEBUG > 1 +#define DPRINTF log_debug +#else +#define DPRINTF(x...) do {} while(0) +#endif + /* buffer */ struct buf { TAILQ_ENTRY(buf) entry; |