aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAvuton Olrich <avuton@gmail.com>2009-03-29 10:58:16 -0700
committerMax Kellermann <max@duempel.org>2009-03-30 19:21:41 +0200
commit6405db931b8fdd9086f8a46a195dbc6d10b5171b (patch)
tree3d7f93efa21af0cdb14e85fc4345b47cbe41b6fc
parent96ab110b44bf2f3445e15f5afcb80439b9da6242 (diff)
downloadmpd-6405db931b8fdd9086f8a46a195dbc6d10b5171b.tar.gz
mpd-6405db931b8fdd9086f8a46a195dbc6d10b5171b.tar.xz
mpd-6405db931b8fdd9086f8a46a195dbc6d10b5171b.zip
conf: config_param_free() not necessary for export.
-rw-r--r--src/conf.c2
-rw-r--r--src/conf.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/conf.c b/src/conf.c
index 260d2582f..6f3c9ace7 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -87,7 +87,7 @@ newConfigParam(const char *value, int line)
return ret;
}
-void
+static void
config_param_free(gpointer data, G_GNUC_UNUSED gpointer user_data)
{
struct config_param *param = data;
diff --git a/src/conf.h b/src/conf.h
index b036c9846..9f084013c 100644
--- a/src/conf.h
+++ b/src/conf.h
@@ -153,8 +153,6 @@ config_get_block_bool(const struct config_param *param, const char *name,
struct config_param *
newConfigParam(const char *value, int line);
-void config_param_free(gpointer data, gpointer user_data);
-
void
addBlockParam(struct config_param *param, const char *name, const char *value, int line);