mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-02 03:39:43 -06:00
Some RunCMake tests fail with this warning due to extra stderr content:
warning: this old-style function definition is not preceded by a prototype
Convert `foo()` to `foo(void)` in `.c` sources of affected tests.
9 lines
96 B
C
9 lines
96 B
C
#ifdef REQUIRED
|
|
int required(void)
|
|
{
|
|
return 0;
|
|
}
|
|
#else
|
|
# error "REQUIRED not defined"
|
|
#endif
|