summaryrefslogtreecommitdiffstats
path: root/m_config.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-08-04 11:33:24 +0200
committerwm4 <wm4@nowhere>2012-08-04 19:59:56 +0200
commit6031b8e22ce34754218ddcd98d4758ab46d647b8 (patch)
treee2aad57ded8184bb538841c145c99c22983d501d /m_config.h
parent37c03f2c81a443e910eeb3b2613865dce59c54bf (diff)
downloadmpv-6031b8e22ce34754218ddcd98d4758ab46d647b8.tar.bz2
mpv-6031b8e22ce34754218ddcd98d4758ab46d647b8.tar.xz
m_config: implement m_config_new in terms of m_config_simple
Also change m_config_simple() such that you need to register options using m_config_register_options().
Diffstat (limited to 'm_config.h')
-rw-r--r--m_config.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/m_config.h b/m_config.h
index 56413b60a4..3441350c0e 100644
--- a/m_config.h
+++ b/m_config.h
@@ -102,8 +102,7 @@ struct m_config *
m_config_new(void *optstruct,
int includefunc(struct m_config *conf, char *filename));
-struct m_config *m_config_simple(const struct m_option *options,
- void *optstruct);
+struct m_config *m_config_simple(void *optstruct);
// Free a config object.
void m_config_free(struct m_config *config);