This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]