Fixed unused-parameter/strict-prototypes warnings.

pull/8912/head
Justin Handville 3 years ago committed by Daniel Mensinger
parent ee240b60b8
commit 5650c9b769
  1. 4
      test cases/cmake/25 assembler/main.c
  2. 2
      test cases/cmake/25 assembler/meson.build
  3. 2
      test cases/cmake/25 assembler/subprojects/cmTest/cmTest.c

@ -1,9 +1,9 @@
#include <stdint.h> #include <stdint.h>
#include <stdio.h> #include <stdio.h>
int32_t cmTestFunc(); int32_t cmTestFunc(void);
int main(int argc, char* argv[]) int main(void)
{ {
if (cmTestFunc() > 4200) if (cmTestFunc() > 4200)
{ {

@ -1,4 +1,4 @@
project('assembler test', ['c']) project('assembler test', ['c', 'cpp'])
cm = import('cmake') cm = import('cmake')

@ -2,7 +2,7 @@
extern const int32_t cmTestArea; extern const int32_t cmTestArea;
int32_t cmTestFunc() int32_t cmTestFunc(void)
{ {
return cmTestArea; return cmTestArea;
} }

Loading…
Cancel
Save