mirror of
https://github.com/matrix-construct/construct
synced 2025-01-13 08:23:56 +01:00
ircd::info: Remove cruft.
This commit is contained in:
parent
ecefcea599
commit
1c1ceeacba
2 changed files with 0 additions and 15 deletions
|
@ -51,7 +51,6 @@ namespace ircd::info
|
|||
extern const versions sd6_version;
|
||||
|
||||
// System configuration / information
|
||||
extern const size_t clk_tck;
|
||||
extern const string_view clock_source;
|
||||
extern const size_t aio_reqprio_max;
|
||||
extern const size_t aio_max;
|
||||
|
|
14
ircd/info.cc
14
ircd/info.cc
|
@ -944,20 +944,6 @@ ircd::info::vdso_p
|
|||
// System configuration
|
||||
//
|
||||
|
||||
#ifdef _SC_CLK_TCK
|
||||
decltype(ircd::info::clk_tck)
|
||||
ircd::info::clk_tck
|
||||
{
|
||||
size_t(syscall(::sysconf, _SC_CLK_TCK))
|
||||
};
|
||||
#else
|
||||
decltype(ircd::info::clk_tck)
|
||||
ircd::info::clk_tck
|
||||
{
|
||||
1 // prevent #DE
|
||||
};
|
||||
#endif
|
||||
|
||||
static char ircd_info_clock_source[32];
|
||||
decltype(ircd::info::clock_source)
|
||||
ircd::info::clock_source
|
||||
|
|
Loading…
Reference in a new issue