summaryrefslogtreecommitdiffstats
path: root/src/include/debug.h
diff options
context:
space:
mode:
authorMichael Brown2009-06-03 11:09:28 +0200
committerMichael Brown2009-06-03 11:09:28 +0200
commit5e51aaccaa73d5f6c4e3e5b96938991ac99d1dd6 (patch)
tree55e9bd5719f7bd60e95c0cd0cd32f8a6fbbcc7cc /src/include/debug.h
parent[misc] Fix source files erroneously marked as executable (diff)
downloadipxe-5e51aaccaa73d5f6c4e3e5b96938991ac99d1dd6.tar.gz
ipxe-5e51aaccaa73d5f6c4e3e5b96938991ac99d1dd6.tar.xz
ipxe-5e51aaccaa73d5f6c4e3e5b96938991ac99d1dd6.zip
[misc] Remove long-obsolete header files dating from Etherboot 5.4
Diffstat (limited to 'src/include/debug.h')
-rw-r--r--src/include/debug.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/include/debug.h b/src/include/debug.h
deleted file mode 100644
index bb5d33f3c..000000000
--- a/src/include/debug.h
+++ /dev/null
@@ -1,28 +0,0 @@
-#ifndef DEBUG_H
-#define DEBUG_H
-
-//#include <lib.h>
-extern int last_putchar;
-
-/* Defining DEBUG_THIS before including this file enables debug() macro
- * for the file. DEBUG_ALL is for global control. */
-
-#if DEBUG_THIS || DEBUG_ALL
-#define DEBUG 1
-#else
-#undef DEBUG
-#endif
-
-#if DEBUG
-# define debug(...) \
- ((last_putchar=='\n' ? printf("%s: ", __FUNCTION__) : 0), \
- printf(__VA_ARGS__))
-# define debug_hexdump hexdump
-#else
-# define debug(...) /* nothing */
-# define debug_hexdump(...) /* nothing */
-#endif
-
-#define debugx debug
-
-#endif /* DEBUG_H */