aboutsummaryrefslogtreecommitdiff
path: root/libexec/rtld-elf/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/rtld-elf/debug.h')
-rw-r--r--libexec/rtld-elf/debug.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/rtld-elf/debug.h b/libexec/rtld-elf/debug.h
index ed65227ee03d..e9fcae3b52f7 100644
--- a/libexec/rtld-elf/debug.h
+++ b/libexec/rtld-elf/debug.h
@@ -37,10 +37,10 @@
#include <string.h>
#include <unistd.h>
-extern void debug_printf(const char *, ...) __printflike(1, 2);
+void debug_printf(const char *, ...) __printflike(1, 2);
extern int debug;
-#ifdef DEBUG
+#ifndef NO_LD_DEBUG
#define dbg(...) debug_printf(__VA_ARGS__)
#else
#define dbg(...) ((void) 0)