summaryrefslogtreecommitdiffstats
path: root/firmware/export/logf.h
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-05-18 18:32:21 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-05-18 18:32:21 +0000
commit147447a284b2a8067e2028cd3f8ac8c41c7f771a (patch)
treeb61a07a9a88e7e5fccaee5005591d7f78aa44763 /firmware/export/logf.h
parent0f6b5f03d9e11ec896b0d86d2027471c12a655eb (diff)
downloadrockbox-147447a284b2a8067e2028cd3f8ac8c41c7f771a.tar.gz
rockbox-147447a284b2a8067e2028cd3f8ac8c41c7f771a.tar.bz2
rockbox-147447a284b2a8067e2028cd3f8ac8c41c7f771a.zip
don't let logf() and DEBUGF() be empty statements
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26146 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/logf.h')
-rw-r--r--firmware/export/logf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/export/logf.h b/firmware/export/logf.h
index 16666449d4..1aca29d5ba 100644
--- a/firmware/export/logf.h
+++ b/firmware/export/logf.h
@@ -51,5 +51,5 @@ void _logf(const char *format, ...) ATTRIBUTE_PRINTF(1, 2);
/* Allow fine tuning (per file) of the logf output */
#ifndef LOGF_ENABLE
#undef logf
-#define logf(...)
+#define logf(...) do { } while(0)
#endif