diff options
author | Marcel Moolenaar <marcel@FreeBSD.org> | 2003-01-19 06:01:33 +0000 |
---|---|---|
committer | Marcel Moolenaar <marcel@FreeBSD.org> | 2003-01-19 06:01:33 +0000 |
commit | 9d683ffd4b8616aa69bc158f2ef2e942fd7c2115 (patch) | |
tree | 8166c756e10c0bb505e7352042246b630b69280d /include/ieeefp.h | |
parent | bc82f9036ffec178f906377509ef03741cb8f80f (diff) | |
download | src-9d683ffd4b8616aa69bc158f2ef2e942fd7c2115.tar.gz src-9d683ffd4b8616aa69bc158f2ef2e942fd7c2115.zip |
o Move the contents of <machine/floatingpoint.h> over to
<machine/ieeefp.h> where it belongs.
o Remove the i386 specific inclusion of <machine/floatingpoint.h>
from <ieeefp.h>, now that including <machine/ieeefp.h> is enough
for all architectures.
o Allow <machine/ieeefp.h> to inline the functions exposed by the
headers by checking for _IEEEFP_INLINED_ in the MI header. When
defined, prototypes are not given and it is assumed that the MD
headers, when inlining only a subset of the functions provide
prototypes for the functions not being inlined.
Based on patch from: Terry Lambert <tlambert2@mindspring.com>
Tested with: make release.
Notes
Notes:
svn path=/head/; revision=109520
Diffstat (limited to 'include/ieeefp.h')
-rw-r--r-- | include/ieeefp.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/ieeefp.h b/include/ieeefp.h index 24ebdf40388e..e4f943d38916 100644 --- a/include/ieeefp.h +++ b/include/ieeefp.h @@ -12,9 +12,7 @@ #include <sys/cdefs.h> #include <machine/ieeefp.h> -#ifdef __i386__ -#include <machine/floatingpoint.h> -#else /* !__i386__ */ +#if !defined(_IEEEFP_INLINED_) __BEGIN_DECLS extern fp_rnd_t fpgetround(void); extern fp_rnd_t fpsetround(fp_rnd_t); @@ -23,6 +21,6 @@ extern fp_except_t fpsetmask(fp_except_t); extern fp_except_t fpgetsticky(void); extern fp_except_t fpsetsticky(fp_except_t); __END_DECLS -#endif /* __i386__ */ +#endif /* !_IEEEFP_INLINED_ */ #endif /* _IEEEFP_H_ */ |