diff options
author | H. Peter Anvin <hpa@zytor.com> | 2011-06-27 18:51:11 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2012-05-18 16:03:55 -0700 |
commit | be697f88819ef20d72d1e7ea7d3d975d1fed5fb0 (patch) | |
tree | c4806ebe933187b148bb0c9d7995f5adca7fbd41 /com32/lib/pci/scan.c | |
parent | 28b6380be03908a3c3a7a93254e9dcbc0e74592a (diff) | |
download | syslinux-be697f88819ef20d72d1e7ea7d3d975d1fed5fb0.tar.gz |
Use <dprintf.h> instead of an ad hoc definition
Instead of using ad hoc definitions of dprintf, dprintf2, vdprintf and
vdprintf2, use <dprintf.h> everywhere possible.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'com32/lib/pci/scan.c')
-rw-r--r-- | com32/lib/pci/scan.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/com32/lib/pci/scan.c b/com32/lib/pci/scan.c index 4e5635f6..e0974f98 100644 --- a/com32/lib/pci/scan.c +++ b/com32/lib/pci/scan.c @@ -41,12 +41,7 @@ #include <stdbool.h> #include <ctype.h> #include <syslinux/zio.h> - -#ifdef DEBUG -# define dprintf printf -#else -# define dprintf(...) ((void)0) -#endif +#include <dprintf.h> #define MAX_LINE 512 |