missing prototypes
Steve Kargl
sgk@troutmask.apl.washington.edu
Sat Aug 5 15:05:00 GMT 2006
On Sat, Aug 05, 2006 at 11:14:14AM +0200, Fran?ois-Xavier Coudert wrote:
>
> Index: intrinsics/bessel.c
> ===================================================================
> --- intrinsics/bessel.c (revision 115944)
> +++ intrinsics/bessel.c (working copy)
> @@ -32,8 +32,9 @@
> #include <math.h>
> #include "libgfortran.h"
>
> -/* Assume we have all or none of these. */
> #if HAVE_J0 && !HAVE_J0F
> +extern float j0f (float);
> +
> float
> j0f (float x)
> {
> @@ -42,6 +43,8 @@
> #endif
Maybe my C is too rusty. Why is a prototype needed
right before the actual declaration/implementation
of the function?
--
steve
More information about the Fortran
mailing list