summaryrefslogtreecommitdiff
path: root/ldso/include
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-05-30 14:35:31 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-05-30 14:35:31 +0000
commitb732f3009a17f92c421bdd5fe9a65298dc8880b0 (patch)
tree4b547678b6f89ea31b3a237c930696900883b3fa /ldso/include
parent27289ce88425bfb7cc105280155a34bb57030164 (diff)
- fix the macros rather than the callees as rightfully noted by bernds (duh!)
Diffstat (limited to 'ldso/include')
-rw-r--r--ldso/include/ldso.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ldso/include/ldso.h b/ldso/include/ldso.h
index a9d3609d0..35a72fc5e 100644
--- a/ldso/include/ldso.h
+++ b/ldso/include/ldso.h
@@ -67,8 +67,8 @@ extern int _dl_debug_file;
# define _dl_if_debug_dprint(fmt, args...) \
do { if (_dl_debug) __dl_debug_dprint(fmt, ## args); } while (0)
#else
-# define __dl_debug_dprint(fmt, args...)
-# define _dl_if_debug_dprint(fmt, args...)
+# define __dl_debug_dprint(fmt, args...) do {} while (0)
+# define _dl_if_debug_dprint(fmt, args...) do {} while (0)
# define _dl_debug_file 2
#endif /* __SUPPORT_LD_DEBUG__ */
@@ -92,7 +92,7 @@ extern int _dl_debug_file;
#ifdef __SUPPORT_LD_DEBUG_EARLY__
# define _dl_debug_early(fmt, args...) __dl_debug_dprint(fmt, ## args)
#else
-# define _dl_debug_early(fmt, args...)
+# define _dl_debug_early(fmt, args...) do {} while (0)
#endif /* __SUPPORT_LD_DEBUG_EARLY__ */
#ifndef NULL