mirror of
https://github.com/matrix-construct/construct
synced 2024-11-12 04:51:08 +01:00
ircd::info: Remove ununused; minor reorg.
This commit is contained in:
parent
d18711503f
commit
28f677eef2
3 changed files with 15 additions and 23 deletions
|
@ -75,5 +75,4 @@ namespace ircd::info
|
||||||
|
|
||||||
// Util
|
// Util
|
||||||
void dump();
|
void dump();
|
||||||
void init();
|
|
||||||
}
|
}
|
||||||
|
|
36
ircd/info.cc
36
ircd/info.cc
|
@ -12,11 +12,22 @@
|
||||||
#include <RB_INC_UNISTD_H
|
#include <RB_INC_UNISTD_H
|
||||||
#include <RB_INC_CPUID_H
|
#include <RB_INC_CPUID_H
|
||||||
|
|
||||||
void
|
decltype(ircd::info::credits)
|
||||||
ircd::info::init()
|
ircd::info::credits
|
||||||
{
|
{
|
||||||
|
"Inspired by the original Internet Relay Chat daemon from Jarkko Oikarinen",
|
||||||
}
|
" ",
|
||||||
|
"This - is The Construct",
|
||||||
|
" ",
|
||||||
|
"Internet Relay Chat daemon: Matrix Construct",
|
||||||
|
" ",
|
||||||
|
"Copyright (C) 2016-2018 Matrix Construct Developers, Authors & Contributors",
|
||||||
|
"Permission to use, copy, modify, and/or distribute this software for any",
|
||||||
|
"purpose with or without fee is hereby granted, provided that the above",
|
||||||
|
"copyright notice and this permission notice is present in all copies.",
|
||||||
|
" ",
|
||||||
|
nullptr
|
||||||
|
};
|
||||||
|
|
||||||
void
|
void
|
||||||
ircd::info::dump()
|
ircd::info::dump()
|
||||||
|
@ -125,23 +136,6 @@ ircd::info::dump()
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
decltype(ircd::info::credits)
|
|
||||||
ircd::info::credits
|
|
||||||
{
|
|
||||||
"Inspired by the original Internet Relay Chat daemon from Jarkko Oikarinen",
|
|
||||||
" ",
|
|
||||||
"This - is The Construct",
|
|
||||||
" ",
|
|
||||||
"Internet Relay Chat daemon: Matrix Construct",
|
|
||||||
" ",
|
|
||||||
"Copyright (C) 2016-2018 Matrix Construct Developers, Authors & Contributors",
|
|
||||||
"Permission to use, copy, modify, and/or distribute this software for any",
|
|
||||||
"purpose with or without fee is hereby granted, provided that the above",
|
|
||||||
"copyright notice and this permission notice is present in all copies.",
|
|
||||||
" ",
|
|
||||||
nullptr
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Primary information
|
// Primary information
|
||||||
//
|
//
|
||||||
|
|
|
@ -81,7 +81,6 @@ try
|
||||||
log::mark("DEADSTART"); // 6600
|
log::mark("DEADSTART"); // 6600
|
||||||
|
|
||||||
// This starts off the log with library information.
|
// This starts off the log with library information.
|
||||||
info::init();
|
|
||||||
info::dump();
|
info::dump();
|
||||||
|
|
||||||
// Setup the main context, which is a new stack executing the function
|
// Setup the main context, which is a new stack executing the function
|
||||||
|
|
Loading…
Reference in a new issue