return r;
}
+/* misspelled version for backward compatibility */
void
evthread_enable_lock_debuging(void)
+{
+ evthread_enable_lock_debugging();
+}
+
+void
+evthread_enable_lock_debugging(void)
{
struct evthread_lock_callbacks cbs = {
EVTHREAD_LOCK_API_VERSION,
* If you're going to call this function, you must do so before any locks are
* allocated.
**/
+void evthread_enable_lock_debugging(void);
+
+/* Old (misspelled) version: This is deprecated; use
+ * evthread_enable_log_debugging instead. */
void evthread_enable_lock_debuging(void);
#endif /* EVENT__DISABLE_THREAD_SUPPORT */
#ifndef EVENT__DISABLE_THREAD_SUPPORT
if (!getenv("EVENT_NO_DEBUG_LOCKS"))
- evthread_enable_lock_debuging();
+ evthread_enable_lock_debugging();
#endif
tinytest_set_aliases(testaliases);
}
#ifndef EVENT__DISABLE_THREAD_SUPPORT
- evthread_enable_lock_debuging();
+ evthread_enable_lock_debugging();
#endif
return test_ratelimiting();