summaryrefslogtreecommitdiff
path: root/stdio-common/scanf2.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/scanf2.c')
-rw-r--r--stdio-common/scanf2.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/stdio-common/scanf2.c b/stdio-common/scanf2.c
index 06c97c669a..452104d5aa 100644
--- a/stdio-common/scanf2.c
+++ b/stdio-common/scanf2.c
@@ -1,7 +1,8 @@
#include <stdio.h>
#include <stdlib.h>
-main()
+int
+main(int argc, char *argv[])
{
int point, x, y;
@@ -21,4 +22,4 @@ main()
if (point != 1 || x != 1234 || y != 9876)
abort ();
return 0;
-}
+}