summaryrefslogtreecommitdiffstats
path: root/src/common.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2012-07-29 05:56:00 +0200
committerGravatar Nikias Bassen2012-07-29 05:56:00 +0200
commit0f7af902dc07f3487f0d540923f0956fbcd30ebd (patch)
tree6b1719d89947c4343723420f681de66cfc567998 /src/common.h
parentc6110de59aa435d26ae93078c88c45215e1e8056 (diff)
downloadidevicerestore-0f7af902dc07f3487f0d540923f0956fbcd30ebd.tar.gz
idevicerestore-0f7af902dc07f3487f0d540923f0956fbcd30ebd.tar.bz2
move main() code after option parsing to separate function
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/common.h b/src/common.h
index 3f7d20e..d6be6bb 100644
--- a/src/common.h
+++ b/src/common.h
@@ -80,7 +80,7 @@ struct idevicerestore_client_t {
int nonce_size;
char* udid;
char* srnm;
- const char* ipsw;
+ char* ipsw;
const char* filesystem;
struct dfu_client_t* dfu;
struct normal_client_t* normal;
@@ -127,8 +127,6 @@ char *generate_guid();
int mkdir_with_parents(const char *dir, int mode);
-extern struct idevicerestore_client_t* idevicerestore;
-
#ifdef __cplusplus
}
#endif