* mdemo2/configure.ac: Use AC_LIBTOOL_DLOPEN.
[libtool.git] / f77demo / fooc.c
blobeac944d4dd14f8b5958e8e7a10c1d40c14f5aeea
1 #include "foo.h"
4 int csub(int arg)
6 return (2*arg);
10 int fwrapper(int arg)
12 int res;
13 printf("Calling the Fortran 77 subroutine from the C wrapper...\n");
14 F77_FUNC(fsub,FSUB)(&arg,&res);
15 printf("Returned from the Fortran 77 subroutine...\n");
16 return res;