summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-11-07 19:41:03 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-11-07 19:41:03 +0000
commit1b1264433382dd06d6fb7fa80a822f62ab6076fe (patch)
tree24a337adeca36aec0aff682a4a4e9302c2997c5d
parentb961a5737a1e5389facb2e3c49a8c79a4055965e (diff)
downloadglibc-1b1264433382dd06d6fb7fa80a822f62ab6076fe.tar.gz
glibc-1b1264433382dd06d6fb7fa80a822f62ab6076fe.tar.xz
glibc-1b1264433382dd06d6fb7fa80a822f62ab6076fe.zip
conformtest: Fix isnan function return type.
-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