summaryrefslogtreecommitdiffstats
path: root/src/iphone.c
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2008-08-11 22:32:01 +0200
committerGravatar Jonathan Beck2008-08-31 19:27:19 +0200
commite1b22c51edd2c3b416d111a63e1a84ab3ba7817e (patch)
tree5c22a2f6ab33927ab61b9e43c9382e0a2ffd8734 /src/iphone.c
parentde4b279089d40131346cbd28e4f27b6e9716fab9 (diff)
downloadlibimobiledevice-e1b22c51edd2c3b416d111a63e1a84ab3ba7817e.tar.gz
libimobiledevice-e1b22c51edd2c3b416d111a63e1a84ab3ba7817e.tar.bz2
first shot at setting up a library
Diffstat (limited to 'src/iphone.c')
-rw-r--r--src/iphone.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/iphone.c b/src/iphone.c
index d8bb9ae..e0e150f 100644
--- a/src/iphone.c
+++ b/src/iphone.c
@@ -34,7 +34,7 @@ extern int debug;
* @return A structure with data on the first iPhone it finds. (Or NULL, on
* error)
*/
-iPhone *get_iPhone() {
+iPhone_t get_iPhone() {
iPhone *phone = (iPhone*)malloc(sizeof(iPhone));
struct usb_bus *bus, *busses;
struct usb_device *dev;
@@ -129,7 +129,7 @@ iPhone *get_iPhone() {
*
* @param phone A pointer to an iPhone structure.
*/
-void free_iPhone(iPhone *phone) {
+void free_iPhone(iPhone_t phone) {
if (phone->buffer) free(phone->buffer);
if (phone->device) {
usb_release_interface(phone->device, 1);