]> Git Repo - uclibc-ng.git/commitdiff
math: isnan is a C99 feature
authorHenning Heinold <[email protected]>
Thu, 5 Aug 2010 16:22:12 +0000 (18:22 +0200)
committerBernhard Reutner-Fischer <[email protected]>
Thu, 5 Aug 2010 16:22:56 +0000 (18:22 +0200)
Signed-off-by: Bernhard Reutner-Fischer <[email protected]>
Signed-off-by: Henning Heinold <[email protected]>
libc/sysdeps/linux/common/bits/mathcalls.h

index df2e21cc8057e2e4274e216e9386e7542c69c6b7..3772b7d0dda5d7daf49cd1e76ba63bf7a5e4b3be 100644 (file)
@@ -235,15 +235,14 @@ __MATHCALLX (nan,, (__const char *__tagb), (__const__))
 __END_NAMESPACE_C99
 #endif
 
-
-/* Return nonzero if VALUE is not a number.  */
-/* DELETE? __MATHDECL_PRIV adds another "__": so this is "____isnan"???! */
-/*__MATHDECL_PRIV (int,__isnan,, (_Mdouble_ __value), (__const__))*/
-
-#if defined __USE_MISC || defined __USE_XOPEN
+#if defined __USE_MISC || defined __USE_XOPEN || defined __USE_ISOC99
 /* Return nonzero if VALUE is not a number.  */
+__BEGIN_NAMESPACE_C99
 __MATHDECL_PRIV (int,isnan,, (_Mdouble_ __value), (__const__))
+__END_NAMESPACE_C99
+#endif
 
+#if defined __USE_MISC || defined __USE_XOPEN
 # ifdef __DO_XSI_MATH__
 /* Bessel functions.  */
 __MATHCALL (j0,, (_Mdouble_))
This page took 0.028167 seconds and 4 git commands to generate.