mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 12:49:36 -06:00
Several extern functions were declared without return type, which results in warnings. The functions are for calling Fortran subroutines, so there should not be a return value. Signed-off-by: William R. Dieter <william.r.dieter@intel.com>
13 lines
178 B
C
13 lines
178 B
C
#include "foo.h"
|
|
extern void F_test_mod_sub(void);
|
|
extern void F_mysub(void);
|
|
int myc(void)
|
|
{
|
|
F_mysub();
|
|
F_my_sub();
|
|
#ifdef TEST_MOD
|
|
F_test_mod_sub();
|
|
#endif
|
|
return 0;
|
|
}
|