summaryrefslogtreecommitdiffstats
path: root/core/m_option.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/m_option.h')
-rw-r--r--core/m_option.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/m_option.h b/core/m_option.h
index dd1dbd3d75..0026406569 100644
--- a/core/m_option.h
+++ b/core/m_option.h
@@ -464,6 +464,8 @@ static inline void m_option_free(const m_option_t *opt, void *dst)
opt->type->free(dst);
}
+int m_option_required_params(const m_option_t *opt);
+
// Cause a compilation warning if typeof(expr) != type.
// Should be used with pointer types only.
#define MP_EXPECT_TYPE(type, expr) (0 ? (type)0 : (expr))