summaryrefslogtreecommitdiffstats
path: root/src/common.c
diff options
context:
space:
mode:
authorGravatar BALATON Zoltan2015-05-05 01:10:35 +0200
committerGravatar BALATON Zoltan2015-05-05 01:19:41 +0200
commite96e7dea1c2cd12ddb2679b7f91775c48aff4d11 (patch)
tree582fc533f3ae2e75c7df7819985be348ce3e37b9 /src/common.c
parent5656ccf5cb0432f9ee7d1ed9fbeae7a43d5ad2dd (diff)
downloadidevicerestore-e96e7dea1c2cd12ddb2679b7f91775c48aff4d11.tar.gz
idevicerestore-e96e7dea1c2cd12ddb2679b7f91775c48aff4d11.tar.bz2
Fix some warnings
Diffstat (limited to 'src/common.c')
-rw-r--r--src/common.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/common.c b/src/common.c
index e731d00..b5af690 100644
--- a/src/common.c
+++ b/src/common.c
@@ -32,6 +32,15 @@
#define MAX_PRINT_LEN 64*1024
+struct idevicerestore_mode_t idevicerestore_modes[] = {
+ { 0, "WTF" },
+ { 1, "DFU" },
+ { 2, "Recovery" },
+ { 3, "Restore" },
+ { 4, "Normal" },
+ { -1, NULL }
+};
+
int idevicerestore_debug = 0;
#define idevicerestore_err_buff_size 256