diff options
Diffstat (limited to 'com32/modules')
-rw-r--r-- | com32/modules/ethersel.c | 7 | ||||
-rw-r--r-- | com32/modules/pcitest.c | 7 |
2 files changed, 2 insertions, 12 deletions
diff --git a/com32/modules/ethersel.c b/com32/modules/ethersel.c index d6b4774f..039de276 100644 --- a/com32/modules/ethersel.c +++ b/com32/modules/ethersel.c @@ -38,12 +38,7 @@ #include <com32.h> #include <syslinux/boot.h> #include <syslinux/config.h> - -#ifdef DEBUG -# define dprintf printf -#else -# define dprintf(...) ((void)0) -#endif +#include <dprintf.h> #define MAX_LINE 512 diff --git a/com32/modules/pcitest.c b/com32/modules/pcitest.c index c4317eff..fb6bbbf1 100644 --- a/com32/modules/pcitest.c +++ b/com32/modules/pcitest.c @@ -39,12 +39,7 @@ #include <com32.h> #include <sys/pci.h> #include <stdbool.h> - -#ifdef DEBUG -# define dprintf printf -#else -# define dprintf(...) ((void)0) -#endif +#include <dprintf.h> char display_line = 0; #define moreprintf(...) \ |