aboutsummaryrefslogtreecommitdiffstats
path: root/com32/mboot
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2010-06-29 17:45:23 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2010-06-29 17:45:23 -0700
commitc575dbc5133e30c7b8f57202417696c87ec2e4fb (patch)
tree378b696f419604dab9a18ac84fdc60dd14023dcc /com32/mboot
parent42b6e55bce2915c8ba3eba0b4f664add19f0504e (diff)
downloadsyslinux-c575dbc5133e30c7b8f57202417696c87ec2e4fb.tar.gz
syslinux-c575dbc5133e30c7b8f57202417696c87ec2e4fb.tar.xz
syslinux-c575dbc5133e30c7b8f57202417696c87ec2e4fb.zip
mboot.h: use <dprintf.h>
Use <dprintf.h> like more and more of the system does... Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'com32/mboot')
-rw-r--r--com32/mboot/mboot.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/com32/mboot/mboot.h b/com32/mboot/mboot.h
index b646cd36..da6ca2ff 100644
--- a/com32/mboot/mboot.h
+++ b/com32/mboot/mboot.h
@@ -34,6 +34,7 @@
#ifndef MBOOT_H
+#include <dprintf.h>
#include <stdio.h>
#include <stdlib.h>
#include <inttypes.h>
@@ -55,13 +56,6 @@
#include "mb_header.h"
#include "mb_info.h"
-#define DEBUG 0
-#if DEBUG
-# define dprintf printf
-#else
-# define dprintf(f, ...) ((void)0)
-#endif
-
static inline void error(const char *msg)
{
fputs(msg, stderr);