From a4a0e5a4449cea17c6030555f2c1a9669611d871 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Sat, 12 Sep 2009 19:49:16 +0200 Subject: Rename iphone_free_device_list to follow overall naming style --- include/libiphone/libiphone.h | 2 +- src/iphone.c | 2 +- tools/iphone_id.c | 2 +- 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; } } -- cgit v1.1-32-gdbae