diff options
author | Brad King <brad.king@kitware.com> | 2020-07-08 12:32:07 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-07-08 12:32:15 (GMT) |
commit | 89845851a74d3dd47275803848593c2cd27e9325 (patch) | |
tree | eb51728de62854cf95b3d6bb013d1abfac7109c8 /Tests | |
parent | fc3f932e3c9c6d897905bb99fdf1a2edc721b168 (diff) | |
parent | 075ed33750bf209680dc4a603c7314d2b94a63c8 (diff) | |
download | CMake-89845851a74d3dd47275803848593c2cd27e9325.zip CMake-89845851a74d3dd47275803848593c2cd27e9325.tar.gz CMake-89845851a74d3dd47275803848593c2cd27e9325.tar.bz2 |
Merge topic 'MissingVoid'
075ed33750 Tests: Fix pedantic warning about missing void in C function declaration
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4984
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/XCTest/StaticLibExample/StaticLibExample.c | 2 | ||||
-rw-r--r-- | Tests/XCTest/StaticLibExample/StaticLibExample.h | 2 |
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); |