diff options
| author | 2008-12-29 12:35:51 +0100 | |
|---|---|---|
| committer | 2009-01-02 09:55:08 -0800 | |
| commit | d77ecbe3fbd73418dd72e147a0ac2a89e62b1cd9 (patch) | |
| tree | 6ef70292982a499e36d4e14c529436f889e42be1 /src/iphone.c | |
| parent | 0efa3bc3a3519695f288211d720620cc0672f054 (diff) | |
| download | libimobiledevice-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.c | 2 |
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 @@ | |||
| 42 | * descriptor on return. | 42 | * descriptor on return. |
| 43 | * @return IPHONE_E_SUCCESS if ok, otherwise an error code. | 43 | * @return IPHONE_E_SUCCESS if ok, otherwise an error code. |
| 44 | */ | 44 | */ |
| 45 | iphone_error_t iphone_get_specific_device(int bus_n, int dev_n, iphone_device_t * device) | 45 | static iphone_error_t iphone_get_specific_device(unsigned int bus_n, int dev_n, iphone_device_t * device) |
| 46 | { | 46 | { |
| 47 | struct usb_bus *bus, *busses; | 47 | struct usb_bus *bus, *busses; |
| 48 | struct usb_device *dev; | 48 | struct usb_device *dev; |
