mboot.h: use <dprintf.h>
authorH. Peter Anvin <hpa@linux.intel.com>
Wed, 30 Jun 2010 00:45:23 +0000 (17:45 -0700)
committerH. 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

index b646cd3..da6ca2f 100644 (file)
@@ -34,6 +34,7 @@
 
 #ifndef MBOOT_H
 
+#include <dprintf.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <inttypes.h>
 #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);