summaryrefslogtreecommitdiff
path: root/test cases/common/18 array
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/common/18 array')
-rw-r--r--test cases/common/18 array/func.c2
-rw-r--r--test cases/common/18 array/prog.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/test cases/common/18 array/func.c b/test cases/common/18 array/func.c
index 741237235..a324dca21 100644
--- a/test cases/common/18 array/func.c
+++ b/test cases/common/18 array/func.c
@@ -1 +1 @@
-int func() { return 0; }
+int func(void) { return 0; }
diff --git a/test cases/common/18 array/prog.c b/test cases/common/18 array/prog.c
index 51204b9d4..f794e1b1f 100644
--- a/test cases/common/18 array/prog.c
+++ b/test cases/common/18 array/prog.c
@@ -1,3 +1,3 @@
-extern int func();
+extern int func(void);
int main(void) { return func(); }