There are three ways to approach this:
1. Translate the code to C either manually or with a program.
2. Compile to object code and link it with the rest of the project. You'll have to declare the subroutine in a way that C can understand it.
3. Call a FORTRAN interpreter from your function and interpret the subroutine.