From e0b6fdeb8d9a54c357ff9fbf552e1ff4b6282282 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 1 Nov 2013 17:33:11 +0100 Subject: 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. --- stream/tvi_def.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stream/tvi_def.h') 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, -- cgit v1.2.3