summaryrefslogtreecommitdiffstats
path: root/Tests/LinkLineOrder
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/LinkLineOrder')
-rw-r--r--Tests/LinkLineOrder/Exec1.c2
-rw-r--r--Tests/LinkLineOrder/Exec2.c2
-rw-r--r--Tests/LinkLineOrder/NoDepA.c4
-rw-r--r--Tests/LinkLineOrder/NoDepB.c2
-rw-r--r--Tests/LinkLineOrder/NoDepC.c4
-rw-r--r--Tests/LinkLineOrder/NoDepE.c4
-rw-r--r--Tests/LinkLineOrder/NoDepF.c4
-rw-r--r--Tests/LinkLineOrder/NoDepX.c4
-rw-r--r--Tests/LinkLineOrder/NoDepY.c2
-rw-r--r--Tests/LinkLineOrder/NoDepZ.c4
-rw-r--r--Tests/LinkLineOrder/One.c6
-rw-r--r--Tests/LinkLineOrder/Two.c6
12 files changed, 22 insertions, 22 deletions
diff --git a/Tests/LinkLineOrder/Exec1.c b/Tests/LinkLineOrder/Exec1.c
index 9bbf0f6..e47841d 100644
--- a/Tests/LinkLineOrder/Exec1.c
+++ b/Tests/LinkLineOrder/Exec1.c
@@ -1,7 +1,7 @@
/* Directly depends on One */
void OneFunc();
-int main()
+int main(void)
{
OneFunc();
return 0;
diff --git a/Tests/LinkLineOrder/Exec2.c b/Tests/LinkLineOrder/Exec2.c
index 91b8575..d60c94e 100644
--- a/Tests/LinkLineOrder/Exec2.c
+++ b/Tests/LinkLineOrder/Exec2.c
@@ -1,7 +1,7 @@
/* Directly depends on Two */
void TwoFunc();
-int main()
+int main(void)
{
TwoFunc();
return 0;
diff --git a/Tests/LinkLineOrder/NoDepA.c b/Tests/LinkLineOrder/NoDepA.c
index 76f97bc..72333bc 100644
--- a/Tests/LinkLineOrder/NoDepA.c
+++ b/Tests/LinkLineOrder/NoDepA.c
@@ -1,7 +1,7 @@
/* depends on NoDepB */
-void NoDepB_func();
+void NoDepB_func(void);
-void NoDepA_func()
+void NoDepA_func(void)
{
NoDepB_func();
}
diff --git a/Tests/LinkLineOrder/NoDepB.c b/Tests/LinkLineOrder/NoDepB.c
index fa89ae9..a5c30e5 100644
--- a/Tests/LinkLineOrder/NoDepB.c
+++ b/Tests/LinkLineOrder/NoDepB.c
@@ -1,4 +1,4 @@
/* No dependencies */
-void NoDepB_func()
+void NoDepB_func(void)
{
}
diff --git a/Tests/LinkLineOrder/NoDepC.c b/Tests/LinkLineOrder/NoDepC.c
index f05d962..cafb3fd 100644
--- a/Tests/LinkLineOrder/NoDepC.c
+++ b/Tests/LinkLineOrder/NoDepC.c
@@ -1,7 +1,7 @@
/* depends on NoDepA */
-void NoDepA_func();
+void NoDepA_func(void);
-void NoDepC_func()
+void NoDepC_func(void)
{
NoDepA_func();
}
diff --git a/Tests/LinkLineOrder/NoDepE.c b/Tests/LinkLineOrder/NoDepE.c
index c47bb85..6e33c7b 100644
--- a/Tests/LinkLineOrder/NoDepE.c
+++ b/Tests/LinkLineOrder/NoDepE.c
@@ -1,7 +1,7 @@
/* depends on NoDepF */
-void NoDepF_func();
+void NoDepF_func(void);
-void NoDepE_func()
+void NoDepE_func(void)
{
static int firstcall = 1;
if (firstcall) {
diff --git a/Tests/LinkLineOrder/NoDepF.c b/Tests/LinkLineOrder/NoDepF.c
index a814310..f4afcb5 100644
--- a/Tests/LinkLineOrder/NoDepF.c
+++ b/Tests/LinkLineOrder/NoDepF.c
@@ -1,7 +1,7 @@
/* depends on NoDepE */
-void NoDepE_func();
+void NoDepE_func(void);
-void NoDepF_func()
+void NoDepF_func(void)
{
static int firstcall = 1;
if (firstcall) {
diff --git a/Tests/LinkLineOrder/NoDepX.c b/Tests/LinkLineOrder/NoDepX.c
index c895dd1..c8de222 100644
--- a/Tests/LinkLineOrder/NoDepX.c
+++ b/Tests/LinkLineOrder/NoDepX.c
@@ -1,7 +1,7 @@
/* depends on NoDepY*/
-void NoDepY_func();
+void NoDepY_func(void);
-void NoDepX_func()
+void NoDepX_func(void)
{
NoDepY_func();
}
diff --git a/Tests/LinkLineOrder/NoDepY.c b/Tests/LinkLineOrder/NoDepY.c
index 1e6a4ae..dc492d5 100644
--- a/Tests/LinkLineOrder/NoDepY.c
+++ b/Tests/LinkLineOrder/NoDepY.c
@@ -1,4 +1,4 @@
/* No dependencies */
-void NoDepY_func()
+void NoDepY_func(void)
{
}
diff --git a/Tests/LinkLineOrder/NoDepZ.c b/Tests/LinkLineOrder/NoDepZ.c
index 045e570..c866667 100644
--- a/Tests/LinkLineOrder/NoDepZ.c
+++ b/Tests/LinkLineOrder/NoDepZ.c
@@ -1,7 +1,7 @@
/* depends on NoDepX */
-void NoDepX_func();
+void NoDepX_func(void);
-void NoDepZ_func()
+void NoDepZ_func(void)
{
NoDepX_func();
}
diff --git a/Tests/LinkLineOrder/One.c b/Tests/LinkLineOrder/One.c
index b23b1ec..b95fa6d 100644
--- a/Tests/LinkLineOrder/One.c
+++ b/Tests/LinkLineOrder/One.c
@@ -1,9 +1,9 @@
/* depends on NoDepC and NoDepE (and hence on NoDepA, NoDepB and */
/* NoDepF) */
-void NoDepC_func();
-void NoDepE_func();
+void NoDepC_func(void);
+void NoDepE_func(void);
-void OneFunc()
+void OneFunc(void)
{
NoDepC_func();
NoDepE_func();
diff --git a/Tests/LinkLineOrder/Two.c b/Tests/LinkLineOrder/Two.c
index 6bffaa8..9955d67 100644
--- a/Tests/LinkLineOrder/Two.c
+++ b/Tests/LinkLineOrder/Two.c
@@ -1,7 +1,7 @@
-void OneFunc();
-void NoDepZ_func();
+void OneFunc(void);
+void NoDepZ_func(void);
-void TwoFunc()
+void TwoFunc(void)
{
OneFunc();
NoDepZ_func();