diff options
author | Justin Handville <nanolith@gmail.com> | 2021-06-21 18:48:04 -0400 |
---|---|---|
committer | Daniel Mensinger <daniel@mensinger-ka.de> | 2021-06-22 12:46:17 +0200 |
commit | 5650c9b76986e33982a4089d3e37de439934adf7 (patch) | |
tree | 8b91e9b34e7a272bfc98a9814bd1867dd66b88de | |
parent | ee240b60b86143cf4eb5fe9611b84abce71a5f95 (diff) | |
download | meson-5650c9b76986e33982a4089d3e37de439934adf7.zip meson-5650c9b76986e33982a4089d3e37de439934adf7.tar.gz meson-5650c9b76986e33982a4089d3e37de439934adf7.tar.bz2 |
Fixed unused-parameter/strict-prototypes warnings.
-rw-r--r-- | test cases/cmake/25 assembler/main.c | 4 | ||||
-rw-r--r-- | test cases/cmake/25 assembler/meson.build | 2 | ||||
-rw-r--r-- | test cases/cmake/25 assembler/subprojects/cmTest/cmTest.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/test cases/cmake/25 assembler/main.c b/test cases/cmake/25 assembler/main.c index c107afd..5aef967 100644 --- a/test cases/cmake/25 assembler/main.c +++ b/test cases/cmake/25 assembler/main.c @@ -1,9 +1,9 @@ #include <stdint.h> #include <stdio.h> -int32_t cmTestFunc(); +int32_t cmTestFunc(void); -int main(int argc, char* argv[]) +int main(void) { if (cmTestFunc() > 4200) { diff --git a/test cases/cmake/25 assembler/meson.build b/test cases/cmake/25 assembler/meson.build index 0f70079..7180356 100644 --- a/test cases/cmake/25 assembler/meson.build +++ b/test cases/cmake/25 assembler/meson.build @@ -1,4 +1,4 @@ -project('assembler test', ['c']) +project('assembler test', ['c', 'cpp']) cm = import('cmake') diff --git a/test cases/cmake/25 assembler/subprojects/cmTest/cmTest.c b/test cases/cmake/25 assembler/subprojects/cmTest/cmTest.c index eafdea2..e32415c 100644 --- a/test cases/cmake/25 assembler/subprojects/cmTest/cmTest.c +++ b/test cases/cmake/25 assembler/subprojects/cmTest/cmTest.c @@ -2,7 +2,7 @@ extern const int32_t cmTestArea; -int32_t cmTestFunc() +int32_t cmTestFunc(void) { return cmTestArea; } |