diff options
author | bde <bde@FreeBSD.org> | 2006-10-14 20:35:56 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2006-10-14 20:35:56 +0000 |
commit | d36e6277cb28a342a0320420363e0f210cf5ceca (patch) | |
tree | 78482316058e26e0022a69f37897493245506f18 /lib/msun/i387 | |
parent | ef1f86587e5629545b4df6bd18cc513bbd314fe5 (diff) | |
download | FreeBSD-src-d36e6277cb28a342a0320420363e0f210cf5ceca.zip FreeBSD-src-d36e6277cb28a342a0320420363e0f210cf5ceca.tar.gz |
Moved __BEGIN_DECLS up a little so that it covers __test_sse() and C++
isn't broken,
PR: 104425
Diffstat (limited to 'lib/msun/i387')
-rw-r--r-- | lib/msun/i387/fenv.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/msun/i387/fenv.h b/lib/msun/i387/fenv.h index d62dcf8..cbe9a6b 100644 --- a/lib/msun/i387/fenv.h +++ b/lib/msun/i387/fenv.h @@ -80,6 +80,8 @@ typedef __uint16_t fexcept_t; #define _SSE_ROUND_SHIFT 3 #define _SSE_EMASK_SHIFT 7 +__BEGIN_DECLS + /* After testing for SSE support once, we cache the result in __has_sse. */ enum __sse_support { __SSE_YES, __SSE_NO, __SSE_UNK }; extern enum __sse_support __has_sse; @@ -91,8 +93,6 @@ int __test_sse(void); (__has_sse == __SSE_UNK && __test_sse())) #endif -__BEGIN_DECLS - /* Default floating-point environment */ extern const fenv_t __fe_dfl_env; #define FE_DFL_ENV (&__fe_dfl_env) |