From d7e1f889211225ba99fbfeef9d8a16c264dc9f47 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Fri, 24 May 2019 18:10:43 -0700 Subject: [PATCH] ircd: Minor remove cruft; internal ircd::main(). --- include/ircd/ircd.h | 2 -- ircd/ircd.cc | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/include/ircd/ircd.h b/include/ircd/ircd.h index 1e2095d94..5e5247b1a 100644 --- a/include/ircd/ircd.h +++ b/include/ircd/ircd.h @@ -67,8 +67,6 @@ /// namespace ircd { - struct init; - seconds uptime(); void init(boost::asio::io_context &ios, const string_view &origin, const string_view &hostname); bool quit() noexcept; diff --git a/ircd/ircd.cc b/ircd/ircd.cc index f0e2507fc..2d9ac4cbe 100644 --- a/ircd/ircd.cc +++ b/ircd/ircd.cc @@ -14,7 +14,7 @@ namespace ircd std::string _servername; // user's supplied param ctx::ctx *main_context; // Main program loop - void main() noexcept; + static void main() noexcept; } decltype(ircd::write_avoid)