summaryrefslogtreecommitdiffstats
path: root/src/iphone.c
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2009-07-25 02:54:40 +0200
committerGravatar Martin Szulecki2009-07-25 02:54:40 +0200
commit5cb9ecc85240102402082c442d561d7350732027 (patch)
treecea461435303568e39571b0ccb19d4e25d4d266b /src/iphone.c
parentf5e9d76ebd74999512ab73f44fabba86879b1c1f (diff)
downloadlibimobiledevice-5cb9ecc85240102402082c442d561d7350732027.tar.gz
libimobiledevice-5cb9ecc85240102402082c442d561d7350732027.tar.bz2
Follow glib style and rename iphone_free_device to iphone_device_free
Diffstat (limited to 'src/iphone.c')
-rw-r--r--src/iphone.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/iphone.c b/src/iphone.c
index 93d7b5d..bdabc35 100644
--- a/src/iphone.c
+++ b/src/iphone.c
@@ -52,11 +52,11 @@ iphone_error_t iphone_get_device_by_uuid(iphone_device_t * device, const char *u
}
if (dev_list && dev_list[0].handle > 0) {
if (!uuid) {
- // select first device found if no UUID specified
+ /* select first device found if no UUID specified */
handle = dev_list[0].handle;
strcpy(serial_number, dev_list[0].serial_number);
} else {
- // otherwise walk through the list
+ /* otherwise walk through the list */
for (i = 0; dev_list[i].handle > 0; i++) {
log_debug_msg("%s: device handle=%d, uuid=%s\n", __func__, dev_list[i].handle, dev_list[i].serial_number);
if (strcasecmp(uuid, dev_list[i].serial_number) == 0) {
@@ -119,7 +119,7 @@ iphone_error_t iphone_device_get_uuid(iphone_device_t device, char **uuid)
*
* @param phone A pointer to an iPhone structure.
*/
-iphone_error_t iphone_free_device(iphone_device_t device)
+iphone_error_t iphone_device_free(iphone_device_t device)
{
if (!device)
return IPHONE_E_INVALID_ARG;