summaryrefslogtreecommitdiffstats
path: root/src/common.h
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.h
parent5656ccf5cb0432f9ee7d1ed9fbeae7a43d5ad2dd (diff)
downloadidevicerestore-e96e7dea1c2cd12ddb2679b7f91775c48aff4d11.tar.gz
idevicerestore-e96e7dea1c2cd12ddb2679b7f91775c48aff4d11.tar.bz2
Fix some warnings
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/common.h b/src/common.h
index 61dfbb1..4d6441a 100644
--- a/src/common.h
+++ b/src/common.h
@@ -99,14 +99,7 @@ struct idevicerestore_client_t {
void* progress_cb_data;
};
-static struct idevicerestore_mode_t idevicerestore_modes[] = {
- { 0, "WTF" },
- { 1, "DFU" },
- { 2, "Recovery" },
- { 3, "Restore" },
- { 4, "Normal" },
- { -1, NULL }
-};
+extern struct idevicerestore_mode_t idevicerestore_modes[];
extern int idevicerestore_debug;