about summary refs log tree commit diff
path: root/stdio-common/scanf6.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/scanf6.c')
-rw-r--r--stdio-common/scanf6.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/stdio-common/scanf6.c b/stdio-common/scanf6.c
index 36055aa82e..882e8571e3 100644
--- a/stdio-common/scanf6.c
+++ b/stdio-common/scanf6.c
@@ -1,7 +1,8 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-main ()
+int
+main (int argc, char *argv[])
 {
   int n = -1;
   char c = '!';