summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar fidetro2020-04-19 00:01:00 +0800
committerGravatar Nikias Bassen2020-04-27 06:18:27 +0200
commit98f2f23cc73f1eda54dc9ce02cc104205e758dea (patch)
tree159fd683e495fc9a18f564b05dc718ff511c5aaf /src
parent5cbf7635e34b68125b01dbc71b333525ad3cea40 (diff)
downloadlibusbmuxd-98f2f23cc73f1eda54dc9ce02cc104205e758dea.tar.gz
libusbmuxd-98f2f23cc73f1eda54dc9ce02cc104205e758dea.tar.bz2
Fix compiler warning about missing void in function declaration of usbmuxd_unsubscribe()
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;