summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorSean McBride <sean@rogue-research.com>2020-07-07 18:30:36 (GMT)
committerSean McBride <sean@rogue-research.com>2020-07-07 18:41:28 (GMT)
commit075ed33750bf209680dc4a603c7314d2b94a63c8 (patch)
treef41e5547d1e5d3bbc57a92b64a627976e7bd3389 /Tests
parentee781ac59d4a272007799ecd9342d4c6fe0f7032 (diff)
downloadCMake-075ed33750bf209680dc4a603c7314d2b94a63c8.zip
CMake-075ed33750bf209680dc4a603c7314d2b94a63c8.tar.gz
CMake-075ed33750bf209680dc4a603c7314d2b94a63c8.tar.bz2
Tests: Fix pedantic warning about missing void in C function declaration
Diffstat (limited to 'Tests')
-rw-r--r--Tests/XCTest/StaticLibExample/StaticLibExample.c2
-rw-r--r--Tests/XCTest/StaticLibExample/StaticLibExample.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Tests/XCTest/StaticLibExample/StaticLibExample.c b/Tests/XCTest/StaticLibExample/StaticLibExample.c
index b198f80..8d16eb5 100644
--- a/Tests/XCTest/StaticLibExample/StaticLibExample.c
+++ b/Tests/XCTest/StaticLibExample/StaticLibExample.c
@@ -1,6 +1,6 @@
#include "StaticLibExample.h"
-int FourtyFour()
+int FourtyFour(void)
{
return 44;
}
diff --git a/Tests/XCTest/StaticLibExample/StaticLibExample.h b/Tests/XCTest/StaticLibExample/StaticLibExample.h
index 147a909..88695b1 100644
--- a/Tests/XCTest/StaticLibExample/StaticLibExample.h
+++ b/Tests/XCTest/StaticLibExample/StaticLibExample.h
@@ -1 +1 @@
-int FourtyFour();
+int FourtyFour(void);