From fe90841b8af7f49e86c33ba66ff19aa35811f1c5 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Mon, 3 Apr 2017 00:06:02 -0700 Subject: [PATCH] ircd::mods: Minor cleanup. --- include/ircd/mapi.h | 3 +++ include/ircd/mods.h | 15 --------------- 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/include/ircd/mapi.h b/include/ircd/mapi.h index 7744e0835..9ecfab71b 100644 --- a/include/ircd/mapi.h +++ b/include/ircd/mapi.h @@ -25,6 +25,9 @@ namespace ircd { namespace mapi { +struct header; +using magic_t = uint16_t; +using version_t = uint16_t; using metadata = std::map; using init_function = std::function; using fini_function = std::function; diff --git a/include/ircd/mods.h b/include/ircd/mods.h index 453a41dda..7f776c04f 100644 --- a/include/ircd/mods.h +++ b/include/ircd/mods.h @@ -22,30 +22,15 @@ #pragma once #define HAVE_IRCD_MODS_H -namespace ircd { -namespace mapi { - -using magic_t = uint16_t; -using version_t = uint16_t; -struct header; - -} // namespace mapi -} // namespace ircd - namespace ircd { namespace mods { -using mapi::magic_t; -using mapi::version_t; - IRCD_EXCEPTION(ircd::error, error) IRCD_EXCEPTION(error, filesystem_error) IRCD_EXCEPTION(error, invalid_export) IRCD_EXCEPTION(error, expired_symbol) IRCD_EXCEPTION(error, undefined_symbol) -extern struct log::log log; - struct paths :std::vector {