diff options
author | Christophe Fergeau | 2008-12-29 12:35:51 +0100 |
---|---|---|
committer | Matt Colyer | 2009-01-02 09:55:08 -0800 |
commit | d77ecbe3fbd73418dd72e147a0ac2a89e62b1cd9 (patch) | |
tree | 6ef70292982a499e36d4e14c529436f889e42be1 /src/lockdown.h | |
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/lockdown.h')
-rw-r--r-- | src/lockdown.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lockdown.h b/src/lockdown.h index 9176524..012ac72 100644 --- a/src/lockdown.h +++ b/src/lockdown.h @@ -40,11 +40,11 @@ struct iphone_lckd_client_int { int gtls_buffer_hack_len; }; -char *lockdownd_generate_hostid(); +char *lockdownd_generate_hostid(void); iphone_lckd_client_t new_lockdownd_client(iphone_device_t phone); iphone_error_t lockdownd_hello(iphone_lckd_client_t control); -iphone_error_t lockdownd_generic_get_value(iphone_lckd_client_t control, char *req_key, char *req_string, char **value); +iphone_error_t lockdownd_generic_get_value(iphone_lckd_client_t control, const char *req_key, const char *req_string, char **value); iphone_error_t lockdownd_get_device_uid(iphone_lckd_client_t control, char **uid); iphone_error_t lockdownd_get_device_public_key(iphone_lckd_client_t control, char **public_key); |