summaryrefslogtreecommitdiffstats
path: root/src/iphone.c
diff options
context:
space:
mode:
authorGravatar Christophe Fergeau2008-12-29 12:35:51 +0100
committerGravatar Matt Colyer2009-01-02 09:55:08 -0800
commitd77ecbe3fbd73418dd72e147a0ac2a89e62b1cd9 (patch)
tree6ef70292982a499e36d4e14c529436f889e42be1 /src/iphone.c
parent0efa3bc3a3519695f288211d720620cc0672f054 (diff)
downloadlibimobiledevice-d77ecbe3fbd73418dd72e147a0ac2a89e62b1cd9.tar.gz
libimobiledevice-d77ecbe3fbd73418dd72e147a0ac2a89e62b1cd9.tar.bz2
Fix function prototypes
Add missing static, const, change function() to function(void)
Diffstat (limited to 'src/iphone.c')
-rw-r--r--src/iphone.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/iphone.c b/src/iphone.c
index 86226e7..f733219 100644
--- a/src/iphone.c
+++ b/src/iphone.c
@@ -42,7 +42,7 @@
* descriptor on return.
* @return IPHONE_E_SUCCESS if ok, otherwise an error code.
*/
-iphone_error_t iphone_get_specific_device(int bus_n, int dev_n, iphone_device_t * device)
+static iphone_error_t iphone_get_specific_device(unsigned int bus_n, int dev_n, iphone_device_t * device)
{
struct usb_bus *bus, *busses;
struct usb_device *dev;