summaryrefslogtreecommitdiffstats
path: root/Tests/FindOpenMP/Test
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/FindOpenMP/Test')
-rw-r--r--Tests/FindOpenMP/Test/main.c2
-rw-r--r--Tests/FindOpenMP/Test/scaltest.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Tests/FindOpenMP/Test/main.c b/Tests/FindOpenMP/Test/main.c
index 4f0e874..9fb67e4 100644
--- a/Tests/FindOpenMP/Test/main.c
+++ b/Tests/FindOpenMP/Test/main.c
@@ -1,5 +1,5 @@
#include <omp.h>
-int main()
+int main(void)
{
#ifndef _OPENMP
breaks_on_purpose
diff --git a/Tests/FindOpenMP/Test/scaltest.c b/Tests/FindOpenMP/Test/scaltest.c
index 4678b87..be48827 100644
--- a/Tests/FindOpenMP/Test/scaltest.c
+++ b/Tests/FindOpenMP/Test/scaltest.c
@@ -6,7 +6,7 @@ extern "C"
#endif
int scalprod(int n, double* x, double* y, double* res);
-int main()
+int main(void)
{
double a[5] = { 1., 2., 3., 4., 5. };
double b[5] = { 2., 3., 4., 5., 6. };