diff options
author | wm4 <wm4@nowhere> | 2013-07-31 20:43:31 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-07-31 20:43:31 +0200 |
commit | 42f06fb915856722d2e263aa72d0acaf1e00271c (patch) | |
tree | 51e20b90df61ec73467c4eae8452f12cbff85d18 | |
parent | ff3b98d11c374c7ed39e1093b4598c7ee9c7f10f (diff) | |
download | mpv-42f06fb915856722d2e263aa72d0acaf1e00271c.tar.bz2 mpv-42f06fb915856722d2e263aa72d0acaf1e00271c.tar.xz |
m_config: make m_profile struct non-public
-rw-r--r-- | core/m_config.c | 11 | ||||
-rw-r--r-- | core/m_config.h | 13 |
2 files changed, 11 insertions, 13 deletions
diff --git a/core/m_config.c b/core/m_config.c index 406c363093..414d397049 100644 --- a/core/m_config.c +++ b/core/m_config.c @@ -34,8 +34,19 @@ #include "core/m_option.h" #include "core/mp_msg.h" +// Profiles allow to predefine some sets of options that can then +// be applied later on with the internal -profile option. #define MAX_PROFILE_DEPTH 20 +struct m_profile { + struct m_profile *next; + char *name; + char *desc; + int num_opts; + // Option/value pair array. + char **opts; +}; + static int parse_include(struct m_config *config, struct bstr param, bool set) { if (param.len == 0) diff --git a/core/m_config.h b/core/m_config.h index 6a5c471867..c48a4f1281 100644 --- a/core/m_config.h +++ b/core/m_config.h @@ -54,19 +54,6 @@ struct m_config_option { struct m_config_option *alias_owner; }; -// Profiles allow to predefine some sets of options that can then -// be applied later on with the internal -profile option. - -// Config profile -struct m_profile { - struct m_profile *next; - char *name; - char *desc; - int num_opts; - // Option/value pair array. - char **opts; -}; - // Config object /** \ingroup Config */ typedef struct m_config { |