diff options
author | Max Kellermann <max@duempel.org> | 2009-06-19 09:02:13 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-06-25 08:39:01 +0200 |
commit | 146add67c258c0972e7300541524294863cd0985 (patch) | |
tree | fe5e5ee8dd706b2318a64c567d3331c59b5bfd44 /src | |
parent | 34e9a0a96063889b6298cdd7650106b57212458e (diff) | |
download | mpd-146add67c258c0972e7300541524294863cd0985.tar.gz mpd-146add67c258c0972e7300541524294863cd0985.tar.xz mpd-146add67c258c0972e7300541524294863cd0985.zip |
conf: removed config_add_param()
This function is unused.
Diffstat (limited to '')
-rw-r--r-- | src/conf.c | 9 | ||||
-rw-r--r-- | src/conf.h | 7 |
2 files changed, 0 insertions, 16 deletions
diff --git a/src/conf.c b/src/conf.c index 337c2b549..b91515ae6 100644 --- a/src/conf.c +++ b/src/conf.c @@ -350,15 +350,6 @@ void config_read_file(const char *file) fclose(fp); } -void -config_add_param(const char *name, struct config_param *param) -{ - struct config_entry *entry = config_entry_get(name); - assert(entry != NULL); - - entry->params = g_slist_append(entry->params, param); -} - struct config_param * config_get_next_param(const char *name, const struct config_param * last) { diff --git a/src/conf.h b/src/conf.h index 361c5ff6d..381159122 100644 --- a/src/conf.h +++ b/src/conf.h @@ -93,13 +93,6 @@ void config_global_finish(void); void config_read_file(const char *file); -/** - * Adds a new configuration parameter. The name must be registered - * with registerConfigParam(). - */ -void -config_add_param(const char *name, struct config_param *param); - /* don't free the returned value set _last_ to NULL to get first entry */ struct config_param * |