From Fortran to C