diff options
author | wm4 <wm4@nowhere> | 2013-11-01 17:33:11 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-11-01 17:35:38 +0100 |
commit | e0b6fdeb8d9a54c357ff9fbf552e1ff4b6282282 (patch) | |
tree | 34e5fda2e7e7d2d16dfa41c749f98bcad323f4da /mpvcore/m_config.h | |
parent | 4b6c00c50ad7739c024662be0321eef8015b5829 (diff) | |
download | mpv-e0b6fdeb8d9a54c357ff9fbf552e1ff4b6282282.tar.bz2 mpv-e0b6fdeb8d9a54c357ff9fbf552e1ff4b6282282.tar.xz |
Fix some more -Wshadow warnings
These aren't printed with newer gcc or clang versions for some reason.
All of them seem to be about local variables shadowing global functions.
Diffstat (limited to 'mpvcore/m_config.h')
-rw-r--r-- | mpvcore/m_config.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mpvcore/m_config.h b/mpvcore/m_config.h index 9dd479932d..32ef242481 100644 --- a/mpvcore/m_config.h +++ b/mpvcore/m_config.h @@ -65,7 +65,7 @@ typedef struct m_config { } m_config_t; // Create a new config object. -// talloc_parent: talloc parent context for the m_config allocation +// talloc_ctx: talloc parent context for the m_config allocation // size: size of the optstruct (where option values are stored) // size==0 creates a config object with no option struct allocated // defaults: if not NULL, points to a struct of same type as optstruct, which @@ -74,14 +74,14 @@ typedef struct m_config { // and a corresponding option switch or sub-option field. // suboptinit: if not NULL, initialize the suboption string (used for presets) // Note that the m_config object will keep pointers to defaults and options. -struct m_config *m_config_new(void *talloc_parent, size_t size, +struct m_config *m_config_new(void *talloc_ctx, size_t size, const void *defaults, const struct m_option *options); -struct m_config *m_config_from_obj_desc(void *talloc_parent, +struct m_config *m_config_from_obj_desc(void *talloc_ctx, struct m_obj_desc *desc); -struct m_config *m_config_from_obj_desc_noalloc(void *talloc_parent, +struct m_config *m_config_from_obj_desc_noalloc(void *talloc_ctx, struct m_obj_desc *desc); int m_config_set_obj_params(struct m_config *conf, char **args); @@ -208,7 +208,7 @@ int m_config_set_profile_option(struct m_config *config, struct m_profile *p, void m_config_set_profile(struct m_config *config, struct m_profile *p, int flags); -void *m_config_alloc_struct(void *talloc_parent, +void *m_config_alloc_struct(void *talloc_ctx, const struct m_sub_options *subopts); #endif /* MPLAYER_M_CONFIG_H */ |