summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2009-04-03 17:42:27 +0000
committerJeff Johnston <jjohnstn@redhat.com>2009-04-03 17:42:27 +0000
commit823f6f665576bb98c3842a51b0cbd174f19ddf9c (patch)
tree7cdf2c5b0bfe80b60069d892dda58d3882546ae3 /newlib/libc/include
parent8ca79ad630602e500e5e6a183089b120b52a014e (diff)
downloadcygnal-823f6f665576bb98c3842a51b0cbd174f19ddf9c.tar.gz
cygnal-823f6f665576bb98c3842a51b0cbd174f19ddf9c.tar.bz2
cygnal-823f6f665576bb98c3842a51b0cbd174f19ddf9c.zip
2009-04-03 Ken Werner <ken.werner@de.ibm.com>
* libc/include/math.h: Remove duplicate copysign prototype. Fix __math_68881 define typo. Guard functions of the rint family.
Diffstat (limited to 'newlib/libc/include')
-rw-r--r--newlib/libc/include/math.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libc/include/math.h b/newlib/libc/include/math.h
index 5007bd2dc..5125d009f 100644
--- a/newlib/libc/include/math.h
+++ b/newlib/libc/include/math.h
@@ -97,7 +97,7 @@ extern double floor _PARAMS((double));
/* Non reentrant ANSI C functions. */
#ifndef _REENT_ONLY
-#ifndef __math_6881
+#ifndef __math_68881
extern double acos _PARAMS((double));
extern double asin _PARAMS((double));
extern double atan2 _PARAMS((double, double));
@@ -232,7 +232,6 @@ extern long int lround _PARAMS((double));
extern long long int llround _PARAMS((double));
extern double trunc _PARAMS((double));
extern double remquo _PARAMS((double, double, int *));
-extern double copysign _PARAMS((double, double));
extern double fdim _PARAMS((double, double));
extern double fmax _PARAMS((double, double));
extern double fmin _PARAMS((double, double));
@@ -301,7 +300,6 @@ extern long int lroundf _PARAMS((float));
extern long long int llroundf _PARAMS((float));
extern float truncf _PARAMS((float));
extern float remquof _PARAMS((float, float, int *));
-extern float copysignf _PARAMS((float, float));
extern float fdimf _PARAMS((float, float));
extern float fmaxf _PARAMS((float, float));
extern float fminf _PARAMS((float, float));
@@ -337,9 +335,11 @@ extern float hypotf _PARAMS((float, float));
#endif /* ! defined (_REENT_ONLY) */
/* Other long double precision functions. */
+#ifdef __i386__
extern _LONG_DOUBLE rintl _PARAMS((_LONG_DOUBLE));
extern long int lrintl _PARAMS((_LONG_DOUBLE));
extern _LONG_LONG_TYPE llrintl _PARAMS((_LONG_DOUBLE));
+#endif /* __i386__ */
#endif /* !defined (__STRICT_ANSI__) || defined(__cplusplus) || __STDC_VERSION__ >= 199901L */