[PATCH 1/2] fixed-benchmark: remove warning
Marek Ch
mchqwerty at gmail.com
Wed Nov 20 07:25:37 PST 2013
Compiler warned about unused arguments
---
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 0719063..d4de363 100644
--- a/tests/fixed-benchmark.c
+++ b/tests/fixed-benchmark.c
@@ -93,7 +93,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);
--
1.8.4.2
More information about the wayland-devel
mailing list