0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2025-01-13 16:33:53 +01:00

modules/vm: Move vm::log out of module back to libircd.

This commit is contained in:
Jason Volk 2018-06-03 09:58:45 -07:00
parent 57bfe311c6
commit c58e60c122
3 changed files with 7 additions and 7 deletions

View file

@ -24,6 +24,7 @@ namespace ircd::m::vm
enum fault :uint;
using fault_t = std::underlying_type<fault>::type;
extern log::log log;
extern ctx::shared_view<accepted> accept;
extern uint64_t current_sequence;
extern const opts default_opts;

View file

@ -386,6 +386,12 @@ noexcept
// m/vm.h
//
decltype(ircd::m::vm::log)
ircd::m::vm::log
{
"vm", 'v'
};
decltype(ircd::m::vm::accept)
ircd::m::vm::accept
{};

View file

@ -10,7 +10,6 @@
namespace ircd::m::vm
{
extern log::log log;
extern hook::site<> commit_hook;
extern hook::site<> eval_hook;
extern hook::site<> notify_hook;
@ -36,12 +35,6 @@ IRCD_MODULE
ircd::m::vm::init, ircd::m::vm::fini
};
decltype(ircd::m::vm::log)
ircd::m::vm::log
{
"vm", 'v'
};
decltype(ircd::m::vm::commit_hook)
ircd::m::vm::commit_hook
{