conformtest: Fix isnan function return type.

This commit is contained in:
Joseph Myers 2012-11-07 19:41:03 +00:00
parent b961a5737a
commit 1b12644333
2 changed files with 4 additions and 1 deletions

View File

@ -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.

View File

@ -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