Moved __BEGIN_DECLS up a little so that it covers __test_sse() and C++

isn't broken,

PR:		104425
This commit is contained in:
Bruce Evans 2006-10-14 20:35:56 +00:00
parent 9110424caf
commit fae6222bdb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=163358

View File

@ -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)