From 03c8f4fa8a41c11702ce10ce79c2a591f297c63e Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Sat, 6 Dec 2014 21:52:51 +0100 Subject: Replace () with (void) in function prototypes () and (void) are 2 different things in C, and can cause gcc warnings: error: function declaration isn't a prototype [-Werror=strict-prototypes] idevice_error_t idevice_event_unsubscribe(); This commit replaces () with (void) in installed headers. --- include/libimobiledevice/libimobiledevice.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/libimobiledevice/libimobiledevice.h') diff --git a/include/libimobiledevice/libimobiledevice.h b/include/libimobiledevice/libimobiledevice.h index b7a20d8..8705fc8 100644 --- a/include/libimobiledevice/libimobiledevice.h +++ b/include/libimobiledevice/libimobiledevice.h @@ -95,7 +95,7 @@ idevice_error_t idevice_event_subscribe(idevice_event_cb_t callback, void *user_ * * @return IDEVICE_E_SUCCESS on success or an error value when an error occured. */ -idevice_error_t idevice_event_unsubscribe(); +idevice_error_t idevice_event_unsubscribe(void); /* discovery (synchronous) */ -- cgit v1.1-32-gdbae