diff options
author | Martin Szulecki | 2014-10-27 02:40:14 +0100 |
---|---|---|
committer | Martin Szulecki | 2014-10-27 02:40:14 +0100 |
commit | e229e28cb37bc6e938a0410d13d1afe94af57319 (patch) | |
tree | 45b1356d2880501888d9fbf46e1c944a94f6ad81 /common/debug.h | |
parent | 1e86eab358edcd647b2d3544570e4f6988cc2aa5 (diff) | |
download | libimobiledevice-e229e28cb37bc6e938a0410d13d1afe94af57319.tar.gz libimobiledevice-e229e28cb37bc6e938a0410d13d1afe94af57319.tar.bz2 |
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.
Diffstat (limited to 'common/debug.h')
-rw-r--r-- | common/debug.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 |