Automatically generate C prototypes from Fortran subroutines