From e229e28cb37bc6e938a0410d13d1afe94af57319 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Mon, 27 Oct 2014 02:40:14 +0100 Subject: debug: Fix linking failure on OS X by keeping debug level symbol internal This change keeps the debug level symbol within the internal convenience library and makes it accessible using an internal helper. This fixes linking, prevents new exported symbols and finally allows proper control of enabling debug messages. --- common/debug.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'common/debug.h') diff --git a/common/debug.h b/common/debug.h index 99a94b7..4c264c7 100644 --- a/common/debug.h +++ b/common/debug.h @@ -48,4 +48,6 @@ void debug_plist_real(const char *func, int line, plist_t plist); +void internal_set_debug_level(int level); + #endif -- cgit v1.1-32-gdbae