summaryrefslogtreecommitdiffstats
path: root/src/ipsw.h
diff options
context:
space:
mode:
authorGravatar Joshua Hill2010-06-22 15:06:55 -0400
committerGravatar Joshua Hill2010-06-22 15:06:55 -0400
commit38c965c16625d26915b3d4998a8a7e790c834d89 (patch)
tree227333a4a327c66b23cad380ee8c9614c315aa5f /src/ipsw.h
parent61db8cf5abc37ea0da1878961f209f3eb2ba31bf (diff)
downloadidevicerestore-38c965c16625d26915b3d4998a8a7e790c834d89.tar.gz
idevicerestore-38c965c16625d26915b3d4998a8a7e790c834d89.tar.bz2
Reverted rcg4u merge, didn't realize this was actually from posixninja branch
Diffstat (limited to 'src/ipsw.h')
-rw-r--r--src/ipsw.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/ipsw.h b/src/ipsw.h
index aa0fd1d..f764611 100644
--- a/src/ipsw.h
+++ b/src/ipsw.h
@@ -19,11 +19,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef IDEVICERESTORE_IPSW_H
-#define IDEVICERESTORE_IPSW_H
+#ifndef IPSW_H
+#define IPSW_H
#include <zip.h>
-#include <stdint.h>
typedef struct {
int index;
@@ -32,7 +31,7 @@ typedef struct {
unsigned char* data;
} ipsw_file;
-int ipsw_extract_to_memory(const char* ipsw, const char* infile, char** pbuffer, uint32_t* psize);
+int ipsw_extract_to_memory(const char* ipsw, const char* infile, char** pbuffer, int* psize);
void ipsw_free_file(ipsw_file* file);
#endif