diff options
author | William R. Dieter <william.r.dieter@intel.com> | 2022-06-14 06:02:48 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-06-14 11:52:25 (GMT) |
commit | 812000904e84fceda33ed69438967646682ae244 (patch) | |
tree | c0c10375e2eaff2a5c6225f91be7278a266e5523 /Tests/Fortran | |
parent | 18687760f49dbffceb191c9a3955156215f86ab8 (diff) | |
download | CMake-812000904e84fceda33ed69438967646682ae244.zip CMake-812000904e84fceda33ed69438967646682ae244.tar.gz CMake-812000904e84fceda33ed69438967646682ae244.tar.bz2 |
Tests: Add Fortran test C function prototype
One of three Fortran/C interface test functions is missing a prototype,
which causes warnings and sometimes errors depending on compiler versions
and flags.
Signed-off-by: William R. Dieter <william.r.dieter@intel.com>
Diffstat (limited to 'Tests/Fortran')
-rw-r--r-- | Tests/Fortran/myc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/Fortran/myc.c b/Tests/Fortran/myc.c index 1a4d5a4..689d90c 100644 --- a/Tests/Fortran/myc.c +++ b/Tests/Fortran/myc.c @@ -1,5 +1,6 @@ #include "foo.h" extern void F_test_mod_sub(void); +extern void F_my_sub(void); extern void F_mysub(void); int myc(void) { |