summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libusbmuxd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libusbmuxd.c b/src/libusbmuxd.c
index 3987aca..4706343 100644
--- a/src/libusbmuxd.c
+++ b/src/libusbmuxd.c
@@ -1242,7 +1242,7 @@ USBMUXD_API int usbmuxd_subscribe(usbmuxd_event_cb_t callback, void *user_data)
return usbmuxd_events_subscribe(&event_ctx, callback, user_data);
}
-USBMUXD_API int usbmuxd_unsubscribe()
+USBMUXD_API int usbmuxd_unsubscribe(void)
{
int res = usbmuxd_events_unsubscribe(event_ctx);
event_ctx = NULL;