aboutsummaryrefslogtreecommitdiff
path: root/winsup/mingw
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2003-10-21 09:14:45 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2003-10-21 09:14:45 +0000
commit6de52354ebdfb6badf96e7825a09d832512e839d (patch)
tree05a21875c2f5473b1346d56bf9ca05fcd1bd0e36 /winsup/mingw
parent359e09e7fd01afd36e4d8ac8291c6fb69b182ffb (diff)
downloadnewlib-6de52354ebdfb6badf96e7825a09d832512e839d.zip
newlib-6de52354ebdfb6badf96e7825a09d832512e839d.tar.gz
newlib-6de52354ebdfb6badf96e7825a09d832512e839d.tar.bz2
* include/math.h (cabs): Remove non-ISO prototype.
Diffstat (limited to 'winsup/mingw')
-rw-r--r--winsup/mingw/ChangeLog4
-rw-r--r--winsup/mingw/include/math.h5
2 files changed, 7 insertions, 2 deletions
diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog
index 24cdb47..1dfc668 100644
--- a/winsup/mingw/ChangeLog
+++ b/winsup/mingw/ChangeLog
@@ -1,5 +1,9 @@
2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
+ * include/math.h (cabs): Remove non-ISO prototype.
+
+2003-10-21 Danny Smith <dannysmith@users.sourceforge.net>
+
* mingwex/math/cephes_mconf.h (NAN, NANF, NANL):
Use GCC __builtin's if available.
(INFINITY, INFINITYF, INFINITYL): Likewise.
diff --git a/winsup/mingw/include/math.h b/winsup/mingw/include/math.h
index 03636f1..af6a40f 100644
--- a/winsup/mingw/include/math.h
+++ b/winsup/mingw/include/math.h
@@ -175,7 +175,9 @@ _CRTIMP double __cdecl fmod (double, double);
#ifndef __STRICT_ANSI__
-/* Complex number (for cabs). This really belongs in complex.h */
+/* Complex number (for _cabs). This is the MS version. The ISO
+ C99 counterpart _Complex is an intrinsic type in GCC and
+ 'complex' is defined as a macro. See complex.h */
struct _complex
{
double x; /* Real part */
@@ -220,7 +222,6 @@ _CRTIMP int __cdecl _isnan (double);
#if !defined (_NO_OLDNAMES)
-_CRTIMP double __cdecl cabs (struct _complex);
_CRTIMP double __cdecl j0 (double);
_CRTIMP double __cdecl j1 (double);
_CRTIMP double __cdecl jn (int, double);