Commit 95481dda authored by Max Kellermann's avatar Max Kellermann

config/Global: remove unused function config_get_param()

parent 1b4181d9
......@@ -20,7 +20,6 @@
#include "config.h"
#include "Global.hxx"
#include "Data.hxx"
#include "Param.hxx"
#include "Block.hxx"
#include "File.hxx"
#include "Path.hxx"
......@@ -76,12 +75,6 @@ void config_global_check(void)
Check(*p);
}
const ConfigParam *
config_get_param(ConfigOption option) noexcept
{
return config_data.GetParam(option);
}
const char *
config_get_string(ConfigOption option, const char *default_value) noexcept
{
......
......@@ -25,8 +25,6 @@
class Path;
struct ConfigData;
struct ConfigParam;
struct ConfigBlock;
void
config_global_init();
......@@ -48,10 +46,6 @@ config_global_check();
void
ReadConfigFile(Path path);
gcc_pure
const ConfigParam *
config_get_param(enum ConfigOption option) noexcept;
const char *
config_get_string(enum ConfigOption option,
const char *default_value=nullptr) noexcept;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment