summaryrefslogtreecommitdiff
path: root/tests/checkasm/sw_rgb.c
diff options
context:
space:
mode:
authorJun Zhao <mypopydev@gmail.com>2018-05-06 09:33:27 +0800
committerJun Zhao <jun.zhao@intel.com>2018-05-10 19:28:51 +0800
commitb30575bc982fd70799f63f2031640b9916f1648d (patch)
tree5b87fc82288efb733372880e90d1534d2199bed9 /tests/checkasm/sw_rgb.c
parent1655e1096e539fd53a741dfb0a3cbda204c159ee (diff)
checkasm/sw_rgb: fix the function declaration warning
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 <mypopydev@gmail.com>
Diffstat (limited to 'tests/checkasm/sw_rgb.c')
-rw-r--r--tests/checkasm/sw_rgb.c2
1 files changed, 1 insertions, 1 deletions
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;