diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog index 24cdb4744..1dfc668b9 100644 --- a/winsup/mingw/ChangeLog +++ b/winsup/mingw/ChangeLog @@ -1,3 +1,7 @@ +2003-10-21 Danny Smith + + * include/math.h (cabs): Remove non-ISO prototype. + 2003-10-21 Danny Smith * mingwex/math/cephes_mconf.h (NAN, NANF, NANL): diff --git a/winsup/mingw/include/math.h b/winsup/mingw/include/math.h index 03636f133..af6a40f22 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);