diff --git a/ircd/m.cc b/ircd/m.cc index ba40d2999..4b0c8e196 100644 --- a/ircd/m.cc +++ b/ircd/m.cc @@ -1426,7 +1426,7 @@ ircd::m::typing::for_each(const closure_bool &closure) static mods::import function { - "m_typing", "for_each" + "m_typing", "ircd::m::typing::for_each" }; return function(closure); diff --git a/modules/m_typing.cc b/modules/m_typing.cc index 687930b41..09afe5026 100644 --- a/modules/m_typing.cc +++ b/modules/m_typing.cc @@ -51,7 +51,6 @@ timeout_min static system_point calc_timesout(milliseconds relative); static bool update_state(const m::typing &); -extern "C" bool for_each(const m::typing::closure_bool &); extern "C" m::event::id::buf commit(const m::typing &edu); // @@ -330,7 +329,7 @@ timeout_timeout(const typist &t) // bool -for_each(const m::typing::closure_bool &closure) +ircd::m::typing::for_each(const m::typing::closure_bool &closure) { // User cannot yield in their closure because the iteration // may be invalidated by the timeout worker during their yield.