config/Global: remove unused function config_get_param()

This commit is contained in:
Max Kellermann 2018-07-17 23:42:20 +02:00
parent 1b4181d983
commit 95481dda86
2 changed files with 0 additions and 13 deletions

View File

@ -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
{

View File

@ -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;