0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-04 11:08:55 +02:00

construct: Minor cleanup.

This commit is contained in:
Jason Volk 2018-11-03 04:05:12 -07:00
parent 9d7032e29e
commit eb28961561
3 changed files with 3 additions and 12 deletions

View file

@ -9,9 +9,6 @@
// full license for this software is available in the LICENSE file.
#include <ircd/ircd.h>
#include <ircd/asio.h>
#include <ircd/m/m.h>
#include <ircd/util/params.h>
#include "construct.h"
using namespace ircd;

View file

@ -9,13 +9,11 @@
// full license for this software is available in the LICENSE file.
#include <ircd/ircd.h>
#include <ircd/asio.h>
#include <RB_INC_SYS_RESOURCE_H
#include <ircd/asio.h>
#include "lgetopt.h"
#include "construct.h"
namespace fs = ircd::fs;
static void sigfd_handler(const boost::system::error_code &, int) noexcept;
static bool startup_checks();
static void enable_coredumps();
@ -201,6 +199,8 @@ bool
startup_checks()
try
{
namespace fs = ircd::fs;
fs::chdir(fs::get(fs::PREFIX));
return true;
}

View file

@ -8,12 +8,6 @@
// copyright notice and this permission notice is present in all copies. The
// full license for this software is available in the LICENSE file.
//
// construct.cc
//
extern std::unique_ptr<boost::asio::io_service> ios;
//
// console.cc
//