int evutil_secure_rng_global_setup_locks_(const int enable_locks);
/** Return current evthread_lock_callbacks */
-struct evthread_lock_callbacks *evthread_get_lock_callbacks();
+struct evthread_lock_callbacks *evthread_get_lock_callbacks(void);
/** Return current evthread_condition_callbacks */
-struct evthread_condition_callbacks *evthread_get_condition_callbacks();
+struct evthread_condition_callbacks *evthread_get_condition_callbacks(void);
/** Disable locking for internal usage (like global shutdown) */
void evthreadimpl_disable_lock_debugging_(void);
return lu_base.cbs.unlock(mode, lock_);
}
}
-static void lock_unlock_free_thread_cbs()
+static void lock_unlock_free_thread_cbs(void)
{
event_base_free(NULL);