summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--options/m_config.c5
-rw-r--r--options/m_config.h2
2 files changed, 0 insertions, 7 deletions
diff --git a/options/m_config.c b/options/m_config.c
index e66b487df2..92bb47d789 100644
--- a/options/m_config.c
+++ b/options/m_config.c
@@ -1491,8 +1491,3 @@ void mp_read_option_raw(struct mpv_global *global, const char *name,
memset(dst, 0, co->opt->type->size);
m_option_copy(co->opt, dst, gdata->udata + co->opt->offset);
}
-
-struct m_config *mp_get_root_config(struct mpv_global *global)
-{
- return global->config->root;
-}
diff --git a/options/m_config.h b/options/m_config.h
index 40cd367613..ac6966bb22 100644
--- a/options/m_config.h
+++ b/options/m_config.h
@@ -329,6 +329,4 @@ void *mp_get_config_group(void *ta_parent, struct mpv_global *global,
void mp_read_option_raw(struct mpv_global *global, const char *name,
const struct m_option_type *type, void *dst);
-struct m_config *mp_get_root_config(struct mpv_global *global);
-
#endif /* MPLAYER_M_CONFIG_H */