summaryrefslogtreecommitdiff
path: root/sbin/dhclient/dhcpd.h
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2009-06-06 04:02:43 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2009-06-06 04:02:43 +0000
commit6ab1d49e9d67904695f4398a2d1b6aa1d86de58d (patch)
tree66380185d1c248a386a1002ec4efd0ca652c06b4 /sbin/dhclient/dhcpd.h
parent007d82e7701a10af43df89aaf33bf1a4e951a00a (diff)
Nuke debug() unless DEBUG is defined. Elminates debug output from
normal operations. Prodded by deraadt@ a while ago.
Diffstat (limited to 'sbin/dhclient/dhcpd.h')
-rw-r--r--sbin/dhclient/dhcpd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/dhclient/dhcpd.h b/sbin/dhclient/dhcpd.h
index 0111f2f27e9..bbcd1dd513f 100644
--- a/sbin/dhclient/dhcpd.h
+++ b/sbin/dhclient/dhcpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dhcpd.h,v 1.68 2009/03/10 23:19:36 krw Exp $ */
+/* $OpenBSD: dhcpd.h,v 1.69 2009/06/06 04:02:42 krw Exp $ */
/*
* Copyright (c) 2004 Henning Brauer <henning@openbsd.org>
@@ -220,7 +220,9 @@ extern int warnings_occurred;
void error(char *, ...) __attribute__ ((__format__ (__printf__, 1, 2)));
int warning(char *, ...) __attribute__ ((__format__ (__printf__, 1, 2)));
int note(char *, ...) __attribute__ ((__format__ (__printf__, 1, 2)));
+#ifdef DEBUG
int debug(char *, ...) __attribute__ ((__format__ (__printf__, 1, 2)));
+#endif
int parse_warn(char *, ...) __attribute__ ((__format__ (__printf__, 1, 2)));
/* conflex.c */