summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/idevice.c2
-rw-r--r--src/idevice.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/idevice.c b/src/idevice.c
index c40c59a..367eb0f 100644
--- a/src/idevice.c
+++ b/src/idevice.c
@@ -224,7 +224,7 @@ LIBIMOBILEDEVICE_API idevice_error_t idevice_device_list_free(char **devices)
LIBIMOBILEDEVICE_API void idevice_set_debug_level(int level)
{
- idevice_debug_level = level;
+ internal_set_debug_level(level);
}
LIBIMOBILEDEVICE_API idevice_error_t idevice_new(idevice_t * device, const char *udid)
diff --git a/src/idevice.h b/src/idevice.h
index 1a52480..08e24e6 100644
--- a/src/idevice.h
+++ b/src/idevice.h
@@ -46,8 +46,6 @@
#include "common/userpref.h"
#include "libimobiledevice/libimobiledevice.h"
-int idevice_debug_level;
-
enum connection_type {
CONNECTION_USBMUXD = 1
};