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();
81 81
82/* discovery (synchronous) */ 82/* discovery (synchronous) */
83iphone_error_t iphone_get_device_list(char ***devices, int *count); 83iphone_error_t iphone_get_device_list(char ***devices, int *count);
84iphone_error_t iphone_free_device_list(char **devices); 84iphone_error_t iphone_device_list_free(char **devices);
85 85
86/* device structure creation and destruction */ 86/* device structure creation and destruction */
87iphone_error_t iphone_device_new(iphone_device_t *device, const char *uuid); 87iphone_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)
128 * 128 *
129 * @return Always returnes IPHONE_E_SUCCESS. 129 * @return Always returnes IPHONE_E_SUCCESS.
130 */ 130 */
131iphone_error_t iphone_free_device_list(char **devices) 131iphone_error_t iphone_device_list_free(char **devices)
132{ 132{
133 if (devices) { 133 if (devices) {
134 int i = 0; 134 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)
102 for (i = 0; dev_list[i] != NULL; i++) { 102 for (i = 0; dev_list[i] != NULL; i++) {
103 printf("%s\n", dev_list[i]); 103 printf("%s\n", dev_list[i]);
104 } 104 }
105 iphone_free_device_list(dev_list); 105 iphone_device_list_free(dev_list);
106 return 0; 106 return 0;
107 } 107 }
108} 108}