summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2013-09-26 23:36:27 +0200
committerGravatar Martin Szulecki2013-09-26 23:36:27 +0200
commit3475c29642b2d824b86848ab81ef300d0f15e1f6 (patch)
tree2b4ddbafc260c331e2ed5d35a8b16e0db8c7e6ce /src
parent7f721d5a6ce397e045d1bbcf6b895d886dfc7bf5 (diff)
downloadlibirecovery-3475c29642b2d824b86848ab81ef300d0f15e1f6.tar.gz
libirecovery-3475c29642b2d824b86848ab81ef300d0f15e1f6.tar.bz2
Reorder public interface logically and rename irecv_get_device()
Diffstat (limited to 'src')
-rw-r--r--src/libirecovery.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libirecovery.c b/src/libirecovery.c
index 43be58c..9956fab 100644
--- a/src/libirecovery.c
+++ b/src/libirecovery.c
@@ -1439,8 +1439,7 @@ irecv_error_t irecv_finish_transfer(irecv_client_t client) {
return IRECV_E_SUCCESS;
}
-irecv_error_t irecv_get_device(irecv_client_t client, irecv_device_t* device) {
- int device_id = DEVICE_UNKNOWN;
+irecv_error_t irecv_devices_get_device_by_client(irecv_client_t client, irecv_device_t* device) {
uint32_t bdid = 0;
uint32_t cpid = 0;
int i = 0;