summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2009-09-12 19:49:16 +0200
committerGravatar Martin Szulecki2009-09-12 19:49:16 +0200
commita4a0e5a4449cea17c6030555f2c1a9669611d871 (patch)
tree3cd05e6b03af09d7c1ef662ed8956a377fbaf582
parent3ce5d8e486195b62385b4d449cd7b63c33d81db4 (diff)
downloadlibimobiledevice-a4a0e5a4449cea17c6030555f2c1a9669611d871.tar.gz
libimobiledevice-a4a0e5a4449cea17c6030555f2c1a9669611d871.tar.bz2
Rename iphone_free_device_list to follow overall naming style
-rw-r--r--include/libiphone/libiphone.h2
-rw-r--r--src/iphone.c2
-rw-r--r--tools/iphone_id.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/include/libiphone/libiphone.h b/include/libiphone/libiphone.h
index 77860f8..6b95edc 100644
--- a/include/libiphone/libiphone.h
+++ b/include/libiphone/libiphone.h
@@ -81,7 +81,7 @@ iphone_error_t iphone_event_unsubscribe();
/* discovery (synchronous) */
iphone_error_t iphone_get_device_list(char ***devices, int *count);
-iphone_error_t iphone_free_device_list(char **devices);
+iphone_error_t iphone_device_list_free(char **devices);
/* device structure creation and destruction */
iphone_error_t iphone_device_new(iphone_device_t *device, const char *uuid);
diff --git a/src/iphone.c b/src/iphone.c
index eabe6cd..80e3b26 100644
--- a/src/iphone.c
+++ b/src/iphone.c
@@ -128,7 +128,7 @@ iphone_error_t iphone_get_device_list(char ***devices, int *count)
*
* @return Always returnes IPHONE_E_SUCCESS.
*/
-iphone_error_t iphone_free_device_list(char **devices)
+iphone_error_t iphone_device_list_free(char **devices)
{
if (devices) {
int i = 0;
diff --git a/tools/iphone_id.c b/tools/iphone_id.c
index c9ae2db..80f22e1 100644
--- a/tools/iphone_id.c
+++ b/tools/iphone_id.c
@@ -102,7 +102,7 @@ int main(int argc, char **argv)
for (i = 0; dev_list[i] != NULL; i++) {
printf("%s\n", dev_list[i]);
}
- iphone_free_device_list(dev_list);
+ iphone_device_list_free(dev_list);
return 0;
}
}