Add missing function prototypes for __isnan, __fpclassify, __signbit, etc.


git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@1205 4407c894-4637-0410-b4f5-ada5f102cad1
diff --git a/mingw-w64-headers/include/math.h b/mingw-w64-headers/include/math.h
index ef89d1d..b5ce20f 100644
--- a/mingw-w64-headers/include/math.h
+++ b/mingw-w64-headers/include/math.h
@@ -276,6 +276,7 @@
   converted to double, and zero when converted to float.)
 */
 
+  extern int __cdecl __fpclassifyl (long double);
   extern int __cdecl __fpclassifyf (float);
   extern int __cdecl __fpclassify (double);
 
@@ -299,6 +300,9 @@
 /* We don't need to worry about truncation here:
    A NaN stays a NaN. */
 
+  extern int __cdecl __isnan (double);
+  extern int __cdecl __isnanf (float);
+  extern int __cdecl __isnanl (long double);
   __CRT_INLINE int __cdecl __isnan (double _x)
   {
     unsigned short sw;
@@ -334,6 +338,10 @@
 #define isnormal(x) (fpclassify(x) == FP_NORMAL)
 
 /* 7.12.3.6 The signbit macro */
+  extern int __cdecl __signbit (double);
+  extern int __cdecl __signbitf (float);
+  extern int __cdecl __signbitl (long double);
+
   __CRT_INLINE int __cdecl __signbit (double x) {
     unsigned short stw;
     __asm__ ( "fxam; fstsw %%ax;": "=a" (stw) : "t" (x));
@@ -836,6 +844,7 @@
 
 #ifdef _SIGN_DEFINED
 #ifndef __CRT__NO_INLINE
+   extern long double _chgsignl (long double);
   __CRT_INLINE long double _chgsignl(long double _Number) { return _chgsign((double)(_Number)); }
 #else
 #define _chgsignl(NO)	(long double) _chgsign((double)(NO))