diff options
author | David McCullough <davidm@snapgear.com> | 2001-07-11 13:47:45 +0000 |
---|---|---|
committer | David McCullough <davidm@snapgear.com> | 2001-07-11 13:47:45 +0000 |
commit | ce8ee8d9b401c9c2828df3457815c2f4ceed4900 (patch) | |
tree | fc27874f9403ddfd24357f56d87d6ffe08d8ae19 /include/math.h | |
parent | 5882811b88767f26c75913ca2b2fffd05595a7b5 (diff) |
Added __BEGIN_DECLS and __END_DECLS to the files that didn't have
it and that I could see needed it.
Should be pretty low impact as these are only defined when using C++.
Diffstat (limited to 'include/math.h')
-rw-r--r-- | include/math.h | 5 |
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 */ |