summaryrefslogtreecommitdiffstats
path: root/libm/include
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2012-08-21 15:41:34 +0800
committerAndrew Hsieh <andrewhsieh@google.com>2012-08-21 15:41:34 +0800
commit2f7d7c6538a0049f81121731a15017e20cc847c4 (patch)
tree23bcaa693124968ba88003289019ce0bb36115e5 /libm/include
parent7b0d9b798474ab62d4bf67c79ae901f4c4789f27 (diff)
downloadbionic-2f7d7c6538a0049f81121731a15017e20cc847c4.zip
bionic-2f7d7c6538a0049f81121731a15017e20cc847c4.tar.gz
bionic-2f7d7c6538a0049f81121731a15017e20cc847c4.tar.bz2
Enclosed functions in fenv.h with __BEGIN_DECLS/__END_DECLS
Those are C funcitons Related CL: https://android-review.googlesource.com/#/c/41833/ Change-Id: I4386bcf948ad31c3690c9b7a145103088133d041
Diffstat (limited to 'libm/include')
-rw-r--r--libm/include/i387/fenv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libm/include/i387/fenv.h b/libm/include/i387/fenv.h
index 710494c..4e322b7 100644
--- a/libm/include/i387/fenv.h
+++ b/libm/include/i387/fenv.h
@@ -32,6 +32,8 @@
#include <sys/cdefs.h>
#include <sys/_types.h>
+__BEGIN_DECLS
+
/*
* To preserve binary compatibility with FreeBSD 5.3, we pack the
* mxcsr into some reserved fields, rather than changing sizeof(fenv_t).
@@ -65,8 +67,6 @@ typedef __uint16_t fexcept_t;
#define _ROUND_MASK (FE_TONEAREST | FE_DOWNWARD | \
FE_UPWARD | FE_TOWARDZERO)
-__BEGIN_DECLS
-
/* Default floating-point environment */
extern const fenv_t __fe_dfl_env;
#define FE_DFL_ENV (&__fe_dfl_env)