summaryrefslogtreecommitdiffstats
path: root/stream/tvi_def.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-11-01 17:33:11 +0100
committerwm4 <wm4@nowhere>2013-11-01 17:35:38 +0100
commite0b6fdeb8d9a54c357ff9fbf552e1ff4b6282282 (patch)
tree34e5fda2e7e7d2d16dfa41c749f98bcad323f4da /stream/tvi_def.h
parent4b6c00c50ad7739c024662be0321eef8015b5829 (diff)
downloadmpv-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 'stream/tvi_def.h')
-rw-r--r--stream/tvi_def.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/stream/tvi_def.h b/stream/tvi_def.h
index 959237aa04..41c1427e98 100644
--- a/stream/tvi_def.h
+++ b/stream/tvi_def.h
@@ -26,7 +26,7 @@
static int init(priv_t *priv);
static int uninit(priv_t *priv);
-static int control(priv_t *priv, int cmd, void *arg);
+static int do_control(priv_t *priv, int cmd, void *arg);
static int start(priv_t *priv);
static double grab_video_frame(priv_t *priv, char *buffer, int len);
static int get_video_framesize(priv_t *priv);
@@ -37,7 +37,7 @@ static const tvi_functions_t functions =
{
init,
uninit,
- control,
+ do_control,
start,
grab_video_frame,
get_video_framesize,