From 812000904e84fceda33ed69438967646682ae244 Mon Sep 17 00:00:00 2001 From: "William R. Dieter" Date: Tue, 14 Jun 2022 02:02:48 -0400 Subject: 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 --- Tests/Fortran/myc.c | 1 + 1 file changed, 1 insertion(+) 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) { -- cgit v0.12