summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/Makefile.am2
-rw-r--r--src/idevicerestore.c2
-rw-r--r--src/img3.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index c011729..540b262 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -18,6 +18,6 @@ AM_LDFLAGS =\
bin_PROGRAMS = idevicerestore
-idevicerestore_SOURCES = idevicerestore.c ipsw.c tss.c img3.c
+idevicerestore_SOURCES = idevicerestore.c img3.c ipsw.c tss.c
idevicerestore_CFLAGS = $(AM_CFLAGS)
idevicerestore_LDFLAGS = $(AM_LDFLAGS) \ No newline at end of file
diff --git a/src/idevicerestore.c b/src/idevicerestore.c
index 0719508..0b294b9 100644
--- a/src/idevicerestore.c
+++ b/src/idevicerestore.c
@@ -287,7 +287,7 @@ int main(int argc, char* argv[]) {
if(recovery_error != IRECV_E_SUCCESS) {
error("ERROR: Unable to send IMG3: %s\n", ibec_path);
irecv_close(recovery);
- image3_free(ibec_img3);
+ img3_free(ibec_img3);
}
irecv_close(recovery);
diff --git a/src/img3.c b/src/img3.c
index 8a536e5..4daa6b6 100644
--- a/src/img3.c
+++ b/src/img3.c
@@ -25,7 +25,7 @@
#include "img3.h"
#include "idevicerestore.h"
-img3_file* image3_parse_file(unsigned char* data, unsigned int size) {
+img3_file* img3_parse_file(unsigned char* data, unsigned int size) {
img3_header* header = (img3_header*) data;
if(header->imageType != kImg3Container) {
error("ERROR: Invalid IMG3 file\n");
@@ -34,7 +34,7 @@ img3_file* image3_parse_file(unsigned char* data, unsigned int size) {
return NULL;
}
-void image3_free(img3_file* file) {
+void img3_free(img3_file* file) {
if(file != NULL) {
free(file);
}