summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2022-04-22 12:35:22 +0200
committerGravatar Nikias Bassen2022-04-22 12:35:22 +0200
commit7c4858aa453d918039f4ab05d7776881f637a187 (patch)
treebdf983ad3572e2931e98eb1d8f6fde459b77e13c /include
parent4a77478c13b35e311922d05f0866adce817a0d6a (diff)
downloadlibimobiledevice-7c4858aa453d918039f4ab05d7776881f637a187.tar.gz
libimobiledevice-7c4858aa453d918039f4ab05d7776881f637a187.tar.bz2
Fix a few inconsistent declarations
Diffstat (limited to 'include')
-rw-r--r--include/libimobiledevice/notification_proxy.h4
1 files changed, 2 insertions, 2 deletions
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
}