fix the warning: "function declaration isn’t a prototype", in C int foo() and int foo(void) are different functions. int foo() accepts an arbitrary number of arguments, while int foo(void) accepts 0 arguments.
Signed-off-by: Jun Zhao <mypopy...@gmail.com> --- tests/checkasm/sw_rgb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/checkasm/sw_rgb.c b/tests/checkasm/sw_rgb.c index d2b211f..000420d 100644 --- a/tests/checkasm/sw_rgb.c +++ b/tests/checkasm/sw_rgb.c @@ -68,7 +68,7 @@ static void check_shuffle_bytes(void * func, const char * report) } } -static void check_uyvy_to_422p() +static void check_uyvy_to_422p(void) { int i; -- 2.7.4 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel