summaryrefslogtreecommitdiffstats
path: root/include/libirecovery.h
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2015-09-24 20:17:04 +0200
committerGravatar Martin Szulecki2015-09-24 20:17:04 +0200
commit6b32c996520b867a5a812eff64e495a65623b445 (patch)
tree5b1e4e2eb063eab388c991de58e67a6d549bb13a /include/libirecovery.h
parente4349e5b41e06f710106141e7853c3f7e3899d62 (diff)
downloadlibirecovery-6b32c996520b867a5a812eff64e495a65623b445.tar.gz
libirecovery-6b32c996520b867a5a812eff64e495a65623b445.tar.bz2
Replace () with (void) for proper function prototypes
Diffstat (limited to 'include/libirecovery.h')
-rw-r--r--include/libirecovery.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/libirecovery.h b/include/libirecovery.h
index b575fed..7c5b160 100644
--- a/include/libirecovery.h
+++ b/include/libirecovery.h
@@ -97,8 +97,8 @@ typedef irecv_client_private* irecv_client_t;
/* library */
void irecv_set_debug_level(int level);
const char* irecv_strerror(irecv_error_t error);
-void irecv_init();
-void irecv_exit();
+void irecv_init(void);
+void irecv_exit(void);
/* device connectivity */
irecv_error_t irecv_open_with_ecid(irecv_client_t* client, unsigned long long ecid);
@@ -143,7 +143,7 @@ irecv_error_t irecv_get_mode(irecv_client_t client, int* mode);
const struct irecv_device_info* irecv_get_device_info(irecv_client_t client);
/* device database queries */
-irecv_device_t irecv_devices_get_all();
+irecv_device_t irecv_devices_get_all(void);
irecv_error_t irecv_devices_get_device_by_client(irecv_client_t client, irecv_device_t* device);
irecv_error_t irecv_devices_get_device_by_product_type(const char* product_type, irecv_device_t* device);
irecv_error_t irecv_devices_get_device_by_hardware_model(const char* hardware_model, irecv_device_t* device);