From 4c4bbd31f52845de70f5b828121eeea62f8b4514 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Fri, 3 Oct 2014 15:51:43 +0200 Subject: Avoid exporting non-public symbols --- common/debug.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'common/debug.c') 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 @@ #include #include "debug.h" +#include "idevice.h" #include "libimobiledevice/libimobiledevice.h" #ifndef STRIP_DEBUG_CODE @@ -46,7 +47,7 @@ int debug_level = 0; * * @param level Set to 0 for no debugging or 1 for debugging. */ -void idevice_set_debug_level(int level) +LIBIMOBILEDEVICE_API void idevice_set_debug_level(int level) { debug_level = level; } -- cgit v1.1-32-gdbae