[PATCH] fixed-benchmark: remove unused arguments in main
Marek Chalupa
mchqwerty at gmail.com
Fri Jul 3 00:33:23 PDT 2015
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 at gmail.com>
---
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
More information about the wayland-devel
mailing list