Adding prototypes for ldexpl and nextafterl.
git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@107 4407c894-4637-0410-b4f5-ada5f102cad1
diff --git a/mingw-w64-headers/include/ChangeLog b/mingw-w64-headers/include/ChangeLog
index 0e77f1a..d974c7d 100755
--- a/mingw-w64-headers/include/ChangeLog
+++ b/mingw-w64-headers/include/ChangeLog
@@ -1,3 +1,8 @@
+2007-10-10  Kai Tietz  <kai.tietz@onevision.com>
+
+	* math.h: Add prototypes for nextafterl and ldexpl.
+	Add none inline declaration of ldexpf.
+
 2007-10-09  Kai Tietz  <kai.tietz@onevision.com>
 
 	* sys/stat.h, wstat.h: Changed POSIX prototypes.
diff --git a/mingw-w64-headers/include/math.h b/mingw-w64-headers/include/math.h
index cf186ac..6b66324 100755
--- a/mingw-w64-headers/include/math.h
+++ b/mingw-w64-headers/include/math.h
@@ -131,9 +131,9 @@
   _CRTIMP float __cdecl floorf(float _X);
   _CRTIMP float __cdecl fmodf(float _X,float _Y);
   _CRTIMP float __cdecl _hypotf(float _X,float _Y);
-  _CRTIMP float __cdecl ldexpf(float _X,int _Y);
 #endif
-
+  float __cdecl ldexpf(float _X,int _Y);
+  long double __cdecl ldexpl(long double _X,int _Y);
 #if defined(__x86_64)
    /* from libmingwex */
    float __cdecl acosf(float _X);
@@ -633,8 +633,7 @@
   /* 7.12.11.3 */
   extern double __cdecl nextafter (double, double); /* in libmoldname.a */
   extern float __cdecl nextafterf (float, float);
-  /* TODO: Not yet implemented */
-  /* extern long double __cdecl nextafterl (long double, long double); */
+  extern long double __cdecl nextafterl (long double, long double);
 
   /* 7.12.11.4 The nexttoward functions: TODO */