conf: removed config_add_param()

This function is unused.
This commit is contained in:
Max Kellermann 2009-06-19 09:02:13 +02:00
parent 34e9a0a960
commit 146add67c2
2 changed files with 0 additions and 16 deletions

View File

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

View File

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