Main has unused parameters argc and argv. Since they are unused and
C 99 allows to prototype main as 'int main(void)',
remove them and replace by void. It fixes build when unused parameters
are treated as errors.

Signed-off-by: Marek Chalupa <[email protected]>
---
 test/build-pedantic.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/build-pedantic.c b/test/build-pedantic.c
index 1dfb67d..920fc4a 100644
--- a/test/build-pedantic.c
+++ b/test/build-pedantic.c
@@ -3,6 +3,6 @@
 /* This is a build-test only */
 
 int
-main(int argc, char **argv) {
+main(void) {
        return 0;
 }
-- 
2.2.0

_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to