m_config: remove an unused function

This was one of those "shouldn't exist" type of functions that could
access internals that were supposed to be isolated away, but some code
needed to access it anyway.

It looks like the last use of it went away in 2016, shortly after it was
introduced.
This commit is contained in:
wm4 2019-07-12 04:05:05 +02:00
parent e265c07547
commit b37a9685ad
2 changed files with 0 additions and 7 deletions

View File

@ -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;
}

View File

@ -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 */