From f0fd6633205fe0b477032d2be5028a204c327e0b Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 23 Sep 2016 21:04:20 +0200 Subject: m_config, command: remove some minor code duplication I would have been fine with this, but now I want to add another flag, and the duplication would become more messy than having a strange function for deduplication. --- options/m_config.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'options/m_config.h') diff --git a/options/m_config.h b/options/m_config.h index 74390f150b..4571488051 100644 --- a/options/m_config.h +++ b/options/m_config.h @@ -184,6 +184,8 @@ static inline int m_config_set_option0(struct m_config *config, int m_config_set_option_raw(struct m_config *config, struct m_config_option *co, void *data, int flags); +void m_config_mark_co_flags(struct m_config_option *co, int flags); + int m_config_set_option_raw_direct(struct m_config *config, struct m_config_option *co, void *data, int flags); -- cgit v1.2.3