summary refs log tree commit diff
path: root/stdio-common/tstdiomisc.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/tstdiomisc.c')
-rw-r--r--stdio-common/tstdiomisc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/stdio-common/tstdiomisc.c b/stdio-common/tstdiomisc.c
index 66e1fe3ec7..8dac4f2039 100644
--- a/stdio-common/tstdiomisc.c
+++ b/stdio-common/tstdiomisc.c
@@ -1,7 +1,7 @@
 #include <stdio.h>
 
 int
-t1 ()
+t1 (void)
 {
   int n = -1;
   sscanf ("abc  ", "abc %n", &n);
@@ -11,7 +11,7 @@ t1 ()
 }
 
 int
-t2 ()
+t2 (void)
 {
   int result = 0;
   int n;
@@ -36,7 +36,7 @@ t2 ()
 }
 
 int
-main ()
+main (int argc, char *argv[])
 {
   int result = 0;