projects
/
platform
/
upstream
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42b6e55
)
mboot.h: use <dprintf.h>
author
H. Peter Anvin
<hpa@linux.intel.com>
Wed, 30 Jun 2010 00:45:23 +0000
(17:45 -0700)
committer
H. Peter Anvin
<hpa@linux.intel.com>
Wed, 30 Jun 2010 00:45:23 +0000
(17:45 -0700)
Use <dprintf.h> like more and more of the system does...
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
com32/mboot/mboot.h
patch
|
blob
|
history
diff --git
a/com32/mboot/mboot.h
b/com32/mboot/mboot.h
index
b646cd3
..
da6ca2f
100644
(file)
--- 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);