mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
fixed-benchmark: remove unused arguments in main
Fixed benchmark uses main(int argc, char *argv[]) but does not use the arguments, so we can replace them with void Signed-off-by: Marek Chalupa <mchqwerty@gmail.com> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
This commit is contained in:
parent
c2547c70a7
commit
ba731f951c
1 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ benchmark(const char *s, void (*f)(void))
|
|||
s, elapsed.tv_sec, elapsed.tv_nsec);
|
||||
}
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
int main(void)
|
||||
{
|
||||
benchmark("noop", noop_conversion);
|
||||
benchmark("magic", magic_conversion);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue