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]> --- 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
