diff options
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/RunCMake/ObjectLibrary/b.c | 2 | ||||
-rw-r--r-- | Tests/RunCMake/ObjectLibrary/requires.c | 2 | ||||
-rw-r--r-- | Tests/RunCMake/PrecompileHeaders/empty.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Tests/RunCMake/ObjectLibrary/b.c b/Tests/RunCMake/ObjectLibrary/b.c index 220ce03..2c65a2b 100644 --- a/Tests/RunCMake/ObjectLibrary/b.c +++ b/Tests/RunCMake/ObjectLibrary/b.c @@ -5,7 +5,7 @@ #endif extern int a(void); -EXPORT int b() +EXPORT int b(void) { return a(); } diff --git a/Tests/RunCMake/ObjectLibrary/requires.c b/Tests/RunCMake/ObjectLibrary/requires.c index 685632b..a5b429a 100644 --- a/Tests/RunCMake/ObjectLibrary/requires.c +++ b/Tests/RunCMake/ObjectLibrary/requires.c @@ -1,5 +1,5 @@ #ifdef REQUIRED -int required() +int required(void) { return 0; } diff --git a/Tests/RunCMake/PrecompileHeaders/empty.c b/Tests/RunCMake/PrecompileHeaders/empty.c index 30ae1c4..2a51ebc 100644 --- a/Tests/RunCMake/PrecompileHeaders/empty.c +++ b/Tests/RunCMake/PrecompileHeaders/empty.c @@ -1,3 +1,3 @@ -void nothing() +void nothing(void) { } |