mirror of
https://git.planet-casio.com/Lephenixnoir/OpenLibm.git
synced 2024-12-26 19:43:40 +01:00
fenv: avoid internal includes in user-facing headers
A future cleanup will drastically reduce the set of headers being installed, and we don't want to install internal headers in particular.
This commit is contained in:
parent
63c74a4b92
commit
feba6242e4
1 changed files with 7 additions and 3 deletions
|
@ -30,7 +30,6 @@
|
|||
#define _FENV_H_
|
||||
|
||||
#include <stdint.h>
|
||||
#include "cdefs-compat.h"
|
||||
|
||||
#ifndef __fenv_static
|
||||
#define __fenv_static static
|
||||
|
@ -57,7 +56,10 @@ typedef uint32_t fexcept_t;
|
|||
#define FE_DOWNWARD 0x0003
|
||||
#define _ROUND_MASK (FE_TONEAREST | FE_DOWNWARD | \
|
||||
FE_UPWARD | FE_TOWARDZERO)
|
||||
__BEGIN_DECLS
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Default floating-point environment */
|
||||
extern const fenv_t __fe_dfl_env;
|
||||
|
@ -89,6 +91,8 @@ int fegetexcept(void);
|
|||
|
||||
#endif /* __BSD_VISIBLE */
|
||||
|
||||
__END_DECLS
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* !_FENV_H_ */
|
||||
|
|
Loading…
Reference in a new issue