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:
parent
57bfe311c6
commit
c58e60c122
3 changed files with 7 additions and 7 deletions
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
{};
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue