about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--conform/data/math.h-data2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a20e2aee0e..78ce23df04 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
 
+	* conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
+	Change function return type to int.
+
 	* conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
 	Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
 	[!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
diff --git a/conform/data/math.h-data b/conform/data/math.h-data
index 0d9246d8bc..0a05b8dc5d 100644
--- a/conform/data/math.h-data
+++ b/conform/data/math.h-data
@@ -18,7 +18,7 @@ type float_t
 type double_t
 # endif
 # if defined XPG3 || defined XPG4 || defined UNIX98
-function double isnan (double)
+function int isnan (double)
 # endif
 
 # if !defined ISO99 && !defined ISO11 && !defined POSIX2008