From 7c4858aa453d918039f4ab05d7776881f637a187 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Fri, 22 Apr 2022 12:35:22 +0200 Subject: Fix a few inconsistent declarations --- include/libimobiledevice/notification_proxy.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/libimobiledevice/notification_proxy.h b/include/libimobiledevice/notification_proxy.h index 872692c..4eccf20 100644 --- a/include/libimobiledevice/notification_proxy.h +++ b/include/libimobiledevice/notification_proxy.h @@ -183,7 +183,7 @@ np_error_t np_observe_notifications(np_client_t client, const char **notificatio * @param client the NP client * @param notify_cb pointer to a callback function or NULL to de-register a * previously set callback function. - * @param userdata Pointer that will be passed to the callback function as + * @param user_data Pointer that will be passed to the callback function as * user data. If notify_cb is NULL, this parameter is ignored. * * @note Only one callback function can be registered at the same time; @@ -193,7 +193,7 @@ np_error_t np_observe_notifications(np_client_t client, const char **notificatio * NP_E_INVALID_ARG when client is NULL, or NP_E_UNKNOWN_ERROR when * the callback thread could no be created. */ -np_error_t np_set_notify_callback(np_client_t client, np_notify_cb_t notify_cb, void *userdata); +np_error_t np_set_notify_callback(np_client_t client, np_notify_cb_t notify_cb, void *user_data); #ifdef __cplusplus } -- cgit v1.1-32-gdbae