From 143a48bd42db0f7aa23517c6d7eec81f19fa9ce3 Mon Sep 17 00:00:00 2001 From: Jonathan Beck Date: Mon, 11 Aug 2008 23:12:21 +0200 Subject: use non anonymous structs so we can use opaque type on them --- include/libiphone/libiphone.h | 4 ++-- src/iphone.h | 2 +- src/lockdown.h | 2 +- 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; -- cgit v1.1-32-gdbae