Browse Source

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>
tags/n4.1
Jun Zhao Jun Zhao 7 years ago
parent
commit
b30575bc98
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tests/checkasm/sw_rgb.c

+ 1
- 1
tests/checkasm/sw_rgb.c View File

@@ -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;



Loading…
Cancel
Save