On Fri, Jul 03, 2015 at 09:33:23AM +0200, Marek Chalupa wrote:
> 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 <[email protected]>
Reviewed-by: Bryce Harrington <[email protected]>
Pushed:
To ssh://git.freedesktop.org/git/wayland/wayland
c2547c7..ba731f9 master -> master
> ---
> tests/fixed-benchmark.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/fixed-benchmark.c b/tests/fixed-benchmark.c
> index 8d73c83..277ecce 100644
> --- a/tests/fixed-benchmark.c
> +++ b/tests/fixed-benchmark.c
> @@ -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);
> --
> 2.4.3
>
> _______________________________________________
> wayland-devel mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel