diff options
| author | 2014-10-03 15:51:43 +0200 | |
|---|---|---|
| committer | 2014-10-03 16:29:42 +0200 | |
| commit | 4c4bbd31f52845de70f5b828121eeea62f8b4514 (patch) | |
| tree | 6655c2eeba4a9865752523e68d73e982e8a0d515 /common/debug.c | |
| parent | d335f9350eef7b0140a249f92b791dc88b2900e5 (diff) | |
| download | libimobiledevice-4c4bbd31f52845de70f5b828121eeea62f8b4514.tar.gz libimobiledevice-4c4bbd31f52845de70f5b828121eeea62f8b4514.tar.bz2 | |
Avoid exporting non-public symbols
Diffstat (limited to 'common/debug.c')
| -rw-r--r-- | common/debug.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/debug.c b/common/debug.c index 2cc9db1..a7e33df 100644 --- a/common/debug.c +++ b/common/debug.c | |||
| @@ -32,6 +32,7 @@ | |||
| 32 | #include <time.h> | 32 | #include <time.h> |
| 33 | 33 | ||
| 34 | #include "debug.h" | 34 | #include "debug.h" |
| 35 | #include "idevice.h" | ||
| 35 | #include "libimobiledevice/libimobiledevice.h" | 36 | #include "libimobiledevice/libimobiledevice.h" |
| 36 | 37 | ||
| 37 | #ifndef STRIP_DEBUG_CODE | 38 | #ifndef STRIP_DEBUG_CODE |
| @@ -46,7 +47,7 @@ int debug_level = 0; | |||
| 46 | * | 47 | * |
| 47 | * @param level Set to 0 for no debugging or 1 for debugging. | 48 | * @param level Set to 0 for no debugging or 1 for debugging. |
| 48 | */ | 49 | */ |
| 49 | void idevice_set_debug_level(int level) | 50 | LIBIMOBILEDEVICE_API void idevice_set_debug_level(int level) |
| 50 | { | 51 | { |
| 51 | debug_level = level; | 52 | debug_level = level; |
| 52 | } | 53 | } |
