summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}
}