aboutsummaryrefslogtreecommitdiffstats
path: root/src/conf.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-09-09 21:16:46 +0200
committerMax Kellermann <max@duempel.org>2011-09-09 21:36:41 +0200
commitbc0fec0afe8e541dd2d7df2ddbe04b13f6a93678 (patch)
tree47b4c938ced03b5707a3deae07f2cb838a6a6fbb /src/conf.h
parente3eca82cc3b3c3fd0b8557c1ec9ae99d1532b054 (diff)
downloadmpd-bc0fec0afe8e541dd2d7df2ddbe04b13f6a93678.tar.gz
mpd-bc0fec0afe8e541dd2d7df2ddbe04b13f6a93678.tar.xz
mpd-bc0fec0afe8e541dd2d7df2ddbe04b13f6a93678.zip
conf: move duplicate check to _read_name_value()
config_add_block_param() cannot fail, which makes it easier to use.
Diffstat (limited to 'src/conf.h')
-rw-r--r--src/conf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf.h b/src/conf.h
index d460fb8dd..89995d1c5 100644
--- a/src/conf.h
+++ b/src/conf.h
@@ -210,8 +210,8 @@ G_GNUC_MALLOC
struct config_param *
config_new_param(const char *value, int line);
-bool
+void
config_add_block_param(struct config_param * param, const char *name,
- const char *value, int line, GError **error_r);
+ const char *value, int line);
#endif