about summary refs log tree commit diff
path: root/stdio-common/bug8.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/bug8.c')
-rw-r--r--stdio-common/bug8.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/stdio-common/bug8.c b/stdio-common/bug8.c
index 39a41855de..77bbfe3435 100644
--- a/stdio-common/bug8.c
+++ b/stdio-common/bug8.c
@@ -1,7 +1,8 @@
 #include <stdio.h>
 #include <string.h>
 
-main()
+int
+main(int argc, char *argv[])
 {
     char buf[100];
     int point, x, y;
@@ -23,4 +24,4 @@ main()
     puts (status ? "Test failed" : "Test passed");
 
     return status;
-} 
+}