From b30575bc982fd70799f63f2031640b9916f1648d Mon Sep 17 00:00:00 2001 From: Jun Zhao Date: Sun, 6 May 2018 09:33:27 +0800 Subject: checkasm/sw_rgb: fix the function declaration warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- tests/checkasm/sw_rgb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/checkasm/sw_rgb.c b/tests/checkasm/sw_rgb.c index d2b211f7b4..000420d8f7 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; -- cgit v1.2.3