summaryrefslogtreecommitdiff
path: root/include/math.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/math.h')
-rw-r--r--include/math.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/math.h b/include/math.h
index 9aada8e42..752b12bdf 100644
--- a/include/math.h
+++ b/include/math.h
@@ -184,8 +184,10 @@ typedef struct
/* Variable for error reporting. See mtherr.c. */
+__BEGIN_DECLS
extern int mtherr(char *name, int code);
extern int merror;
+__END_DECLS
/* If you define UNK, then be sure to set BIGENDIAN properly. */
@@ -197,6 +199,7 @@ extern int merror;
#endif
+
#define __USE_ISOC9X
/* Get general and ISO C 9X specific information. */
#include <bits/mathdef.h>
@@ -265,6 +268,7 @@ enum
(sizeof (x) == sizeof (float) ? __fpclassifyf (x) : __fpclassify (x))
#endif
+__BEGIN_DECLS
#ifdef __UCLIBC_HAS_LIBM_DOUBLE__
/* Return nonzero value if sign of X is negative. */
@@ -610,5 +614,6 @@ extern long double fmal(long double x, long double y, long double z);
fpclassify (__u) == FP_NAN || fpclassify (__v) == FP_NAN; }))
# endif
+__END_DECLS
#endif /* math.h */