diff options
author | fidetro | 2020-04-19 00:01:00 +0800 |
---|---|---|
committer | Nikias Bassen | 2020-04-27 06:18:27 +0200 |
commit | 98f2f23cc73f1eda54dc9ce02cc104205e758dea (patch) | |
tree | 159fd683e495fc9a18f564b05dc718ff511c5aaf /src | |
parent | 5cbf7635e34b68125b01dbc71b333525ad3cea40 (diff) | |
download | libusbmuxd-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.c | 2 |
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; |