summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/libiphone/libiphone.h4
-rw-r--r--src/iphone.h2
-rw-r--r--src/lockdown.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/include/libiphone/libiphone.h b/include/libiphone/libiphone.h
index 9e559a1..7a4f224 100644
--- a/include/libiphone/libiphone.h
+++ b/include/libiphone/libiphone.h
@@ -30,8 +30,8 @@ extern "C" {
-typedef struct iPhone *iPhone_t;
-typedef struct lockdownd_client *lockdownd_client_t;
+typedef struct iPhone_s *iPhone_t;
+typedef struct lockdownd_client_s *lockdownd_client_t;
void free_iPhone(iPhone_t victim);
diff --git a/src/iphone.h b/src/iphone.h
index 746941f..f12d0eb 100644
--- a/src/iphone.h
+++ b/src/iphone.h
@@ -33,7 +33,7 @@
#define BULKIN 0x85
#define BULKOUT 0x04
-typedef struct {
+typedef struct iPhone_s {
char *buffer;
struct usb_dev_handle *device;
struct usb_device *__device;
diff --git a/src/lockdown.h b/src/lockdown.h
index a16e148..b48c150 100644
--- a/src/lockdown.h
+++ b/src/lockdown.h
@@ -32,7 +32,7 @@
-typedef struct {
+typedef struct lockdownd_client_s {
usbmux_connection *connection;
gnutls_session_t *ssl_session;
int in_SSL;