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

config/Global: remove unused function config_get_param()

parent 1b4181d9
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
#include "config.h" #include "config.h"
#include "Global.hxx" #include "Global.hxx"
#include "Data.hxx" #include "Data.hxx"
#include "Param.hxx"
#include "Block.hxx" #include "Block.hxx"
#include "File.hxx" #include "File.hxx"
#include "Path.hxx" #include "Path.hxx"
...@@ -76,12 +75,6 @@ void config_global_check(void) ...@@ -76,12 +75,6 @@ void config_global_check(void)
Check(*p); Check(*p);
} }
const ConfigParam *
config_get_param(ConfigOption option) noexcept
{
return config_data.GetParam(option);
}
const char * const char *
config_get_string(ConfigOption option, const char *default_value) noexcept config_get_string(ConfigOption option, const char *default_value) noexcept
{ {
......
...@@ -25,8 +25,6 @@ ...@@ -25,8 +25,6 @@
class Path; class Path;
struct ConfigData; struct ConfigData;
struct ConfigParam;
struct ConfigBlock;
void void
config_global_init(); config_global_init();
...@@ -48,10 +46,6 @@ config_global_check(); ...@@ -48,10 +46,6 @@ config_global_check();
void void
ReadConfigFile(Path path); ReadConfigFile(Path path);
gcc_pure
const ConfigParam *
config_get_param(enum ConfigOption option) noexcept;
const char * const char *
config_get_string(enum ConfigOption option, config_get_string(enum ConfigOption option,
const char *default_value=nullptr) noexcept; 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