aboutsummaryrefslogtreecommitdiffstats
path: root/com32/hdt
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2010-07-01 18:04:13 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2010-07-01 18:04:13 -0700
commit26bbd3b34e615619b03d669d68b319993d2d42fe (patch)
tree628b11ce49a69e641a939bf969fa58332065477f /com32/hdt
parentd6799b6b04f50c6b67358f7afbcd46912fdca83a (diff)
downloadsyslinux-26bbd3b34e615619b03d669d68b319993d2d42fe.tar.gz
syslinux-26bbd3b34e615619b03d669d68b319993d2d42fe.tar.xz
syslinux-26bbd3b34e615619b03d669d68b319993d2d42fe.zip
com32: canonicalize DEBUG to mean <dprintf.h>
Remove historical uses of DEBUG/dprintf in favor of the centralized <dprintf.h>. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'com32/hdt')
-rw-r--r--com32/hdt/hdt-cli.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/com32/hdt/hdt-cli.h b/com32/hdt/hdt-cli.h
index d9632b2d..98246b4d 100644
--- a/com32/hdt/hdt-cli.h
+++ b/com32/hdt/hdt-cli.h
@@ -30,16 +30,10 @@
#define DEFINE_HDT_CLI_H
#include <stdio.h>
#include <getkey.h>
+#include <dprintf.h>
#include "hdt-common.h"
-#define DEBUG 0
-#if DEBUG
-# define dprintf printf
-#else
-# define dprintf(f, ...) ((void)0)
-#endif
-
#define MAX_LINE_SIZE 256
#define CLI_SPACE " "