summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2015-10-06 22:07:56 +0200
committerGravatar Martin Szulecki2015-10-06 22:07:56 +0200
commit2d5c2195bbdcc02774fa3f70a23759b3cb8b4aed (patch)
tree586ddff4b41392937c3c84543e2a89dfc7d9d8ed
parentf268393d4e447ac901879bee751d7350c495fed2 (diff)
downloadlibimobiledevice-2d5c2195bbdcc02774fa3f70a23759b3cb8b4aed.tar.gz
libimobiledevice-2d5c2195bbdcc02774fa3f70a23759b3cb8b4aed.tar.bz2
Add missing "(void)" to functions to match public headers
-rw-r--r--src/idevice.c2
-rw-r--r--src/installation_proxy.c2
-rw-r--r--src/mobilesync.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/idevice.c b/src/idevice.c
index ce27495..7c33cdd 100644
--- a/src/idevice.c
+++ b/src/idevice.c
@@ -168,7 +168,7 @@ LIBIMOBILEDEVICE_API idevice_error_t idevice_event_subscribe(idevice_event_cb_t
return IDEVICE_E_SUCCESS;
}
-LIBIMOBILEDEVICE_API idevice_error_t idevice_event_unsubscribe()
+LIBIMOBILEDEVICE_API idevice_error_t idevice_event_unsubscribe(void)
{
event_cb = NULL;
int res = usbmuxd_unsubscribe();
diff --git a/src/installation_proxy.c b/src/installation_proxy.c
index e858e58..8bde154 100644
--- a/src/installation_proxy.c
+++ b/src/installation_proxy.c
@@ -914,7 +914,7 @@ LIBIMOBILEDEVICE_API void instproxy_command_get_name(plist_t command, char** nam
}
}
-LIBIMOBILEDEVICE_API plist_t instproxy_client_options_new()
+LIBIMOBILEDEVICE_API plist_t instproxy_client_options_new(void)
{
return plist_new_dict();
}
diff --git a/src/mobilesync.c b/src/mobilesync.c
index 06fb1c1..d903cfe 100644
--- a/src/mobilesync.c
+++ b/src/mobilesync.c
@@ -739,7 +739,7 @@ LIBIMOBILEDEVICE_API void mobilesync_anchors_free(mobilesync_anchors_t anchors)
anchors = NULL;
}
-LIBIMOBILEDEVICE_API plist_t mobilesync_actions_new()
+LIBIMOBILEDEVICE_API plist_t mobilesync_actions_new(void)
{
return plist_new_dict();
}