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>
This commit is contained in:
William R. Dieter
2022-06-14 02:02:48 -04:00
committed by Brad King
parent 18687760f4
commit 812000904e

View File

@@ -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)
{