aboutsummaryrefslogtreecommitdiffstats
path: root/test/run_convert.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-30 17:52:51 +0100
committerMax Kellermann <max@duempel.org>2013-01-30 21:36:04 +0100
commit595b6a4f6c2a6f12fb2b3c83f4053942844ffa84 (patch)
treebdfaf87414fac0359a8fd2e15911098fbe9d6348 /test/run_convert.c
parentdaa46477125145dd943122c8064c7271a1a9429f (diff)
downloadmpd-595b6a4f6c2a6f12fb2b3c83f4053942844ffa84.tar.gz
mpd-595b6a4f6c2a6f12fb2b3c83f4053942844ffa84.tar.xz
mpd-595b6a4f6c2a6f12fb2b3c83f4053942844ffa84.zip
ConfigFile: add enum ConfigOption
Look up top-level config options by enum (= integer), not by name string.
Diffstat (limited to '')
-rw-r--r--test/run_convert.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/run_convert.c b/test/run_convert.c
index 21be83f73..bdb3d2cf0 100644
--- a/test/run_convert.c
+++ b/test/run_convert.c
@@ -48,7 +48,8 @@ my_log_func(const gchar *log_domain, G_GNUC_UNUSED GLogLevelFlags log_level,
}
const char *
-config_get_string(G_GNUC_UNUSED const char *name, const char *default_value)
+config_get_string(gcc_unused enum ConfigOption option,
+ const char *default_value)
{
return default_value;
}