[syslinux:master] mboot.h: use <dprintf.h>
syslinux-bot for H. Peter Anvin
hpa at linux.intel.com
Thu Jul 1 13:42:21 PDT 2010
Commit-ID: c575dbc5133e30c7b8f57202417696c87ec2e4fb
Gitweb: http://syslinux.zytor.com/commit/c575dbc5133e30c7b8f57202417696c87ec2e4fb
Author: H. Peter Anvin <hpa at linux.intel.com>
AuthorDate: Tue, 29 Jun 2010 17:45:23 -0700
Committer: H. Peter Anvin <hpa at linux.intel.com>
CommitDate: Tue, 29 Jun 2010 17:45:23 -0700
mboot.h: use <dprintf.h>
Use <dprintf.h> like more and more of the system does...
Signed-off-by: H. Peter Anvin <hpa at linux.intel.com>
---
com32/mboot/mboot.h | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
diff --git a/com32/mboot/mboot.h b/com32/mboot/mboot.h
index b646cd3..da6ca2f 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);
More information about the Syslinux-commits
mailing list