mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 10:12:39 +01:00
construct: Minor cleanup.
This commit is contained in:
parent
9d7032e29e
commit
eb28961561
3 changed files with 3 additions and 12 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue