diff --git a/src/config/Global.cxx b/src/config/Global.cxx index e333f61cc..62c7eb159 100644 --- a/src/config/Global.cxx +++ b/src/config/Global.cxx @@ -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 { diff --git a/src/config/Global.hxx b/src/config/Global.hxx index 00f16f2e8..630b07e14 100644 --- a/src/config/Global.hxx +++ b/src/config/Global.hxx @@ -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;