summaryrefslogtreecommitdiff
path: root/common/nodebug.h
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2014-06-17 14:03:13 +0900
committertmk <nobody@nowhere>2014-07-30 14:07:43 +0900
commitee70fe59ee8ebc6dcbf55171b1a2dd72e1744ae6 (patch)
tree29e08175246a736aaf7195d0612325278bc92f81 /common/nodebug.h
parentc67ae2a6b546c822759352586c14cd9dccbbe0ff (diff)
Fix debug.h and remove debug_config.h
Diffstat (limited to 'common/nodebug.h')
-rw-r--r--common/nodebug.h28
1 files changed, 3 insertions, 25 deletions
diff --git a/common/nodebug.h b/common/nodebug.h
index 8ef123f9fd..93309ada47 100644
--- a/common/nodebug.h
+++ b/common/nodebug.h
@@ -18,30 +18,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef NODEBUG_H
#define NODEBUG_H 1
-#define dprint(s)
-#define dprintln(s)
-#define dprintf(fmt, ...)
-#define dmsg(s)
-
-#define debug(s)
-#define debugln(s)
-#define debug_S(s)
-#define debug_P(s)
-#define debug_msg(s)
-#define debug_dec(data)
-#define debug_decs(data)
-#define debug_hex4(data)
-#define debug_hex8(data)
-#define debug_hex16(data)
-#define debug_hex32(data)
-#define debug_bin8(data)
-#define debug_bin16(data)
-#define debug_bin32(data)
-#define debug_bin_reverse8(data)
-#define debug_bin_reverse16(data)
-#define debug_bin_reverse32(data)
-#define debug_hex(data)
-#define debug_bin(data)
-#define debug_bin_reverse(data)
+#define NO_DEBUG
+#include "debug.h"
+#undef NO_DEBUG
#endif