From 6031b8e22ce34754218ddcd98d4758ab46d647b8 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 4 Aug 2012 11:33:24 +0200 Subject: 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(). --- m_config.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'm_config.h') 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); -- cgit v1.2.3