[PATCH] Add missing prototypes
Eric Botcazou
ebotcazou@libertysurf.fr
Fri Dec 3 15:14:00 GMT 2004
Hi,
This started with Steven's suggestion to check for the presence of ieeefp.h
(where finite is declared on Solaris) and include it if present. While I was
at it, I added the prototypes for the functions in intrinsics/c99_functions.c
and discovered that fabsf was missing (but it's a compiler builtin).
Built and tested on sparc-sun-solaris2.8 and amd64-mandrake-linux-gnu.
2004-12-03 Eric Botcazou <ebotcazou@libertysurf.fr>
* configure.ac: Check for ieeefp.h. Check for fabsf in libm.
* configure: Regenerate.
* config.h.in: Likewise.
* c99_protos.h: New file.
* libgfortran.h: Include c99_protos.h and conditionally ieeefp.h.
* intrinsics/c99_functions.c (fabsf): New function.
--
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libgfortran_protos.diff
Type: text/x-diff
Size: 8574 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20041203/b4cee67f/attachment.bin>
More information about the Fortran
mailing list