[PATCH 2/5] add base fenv.h and default sys/fenv.h

Patrick Mansfield patmans@us.ibm.com
Tue Feb 13 09:25:00 GMT 2007


On Tue, Feb 06, 2007 at 03:49:17PM +0900, Kazunori Asayama wrote:
> Patrick Mansfield <patmans@us.ibm.com> wrote:
> > Add a base fenv.h file, and a default sys/fenv.h that will generate a
> > compile error.
> 
> The file fenv.h should be surrounded by:
> 
> --
> #ifdef __cplusplus
> extern "C" {
> #endif
> --
> 
>   and
> 
> --
> #ifdef __cplusplus
> }
> #endif

I added those, and some "#ifndef _FENV_H"

Do I need to use _EXFUN for the function prototypes?

-- Patrick Mansfield



More information about the Newlib mailing list