From f905cfdc773f8fc1221b01b74292b8d9e8140242 Mon Sep 17 00:00:00 2001 From: "William R. Dieter" Date: Thu, 3 Dec 2020 19:20:43 -0500 Subject: Tests: Fix Fortran test C function prototypes 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 --- Tests/Fortran/myc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/Fortran/myc.c b/Tests/Fortran/myc.c index efd9b68..1a4d5a4 100644 --- a/Tests/Fortran/myc.c +++ b/Tests/Fortran/myc.c @@ -1,6 +1,6 @@ #include "foo.h" -extern F_test_mod_sub(void); -extern F_mysub(void); +extern void F_test_mod_sub(void); +extern void F_mysub(void); int myc(void) { F_mysub(); -- cgit v0.12