240-math_call.patch 1.2 KB

1234567891011121314151617181920212223242526272829
  1. --- a/libc/sysdeps/linux/common/bits/mathcalls.h
  2. +++ b/libc/sysdeps/linux/common/bits/mathcalls.h
  3. @@ -190,20 +190,20 @@
  4. /* Return 0 if VALUE is finite or NaN, +1 if it
  5. is +Infinity, -1 if it is -Infinity. */
  6. -__MATHDECL_1 (int,__isinf,, (_Mdouble_ __value)) __attribute__ ((__const__));
  7. +__MATHDECL_1 (int,isinf,, (_Mdouble_ __value)) __attribute__ ((__const__));
  8. /* Return nonzero if VALUE is finite and not NaN. */
  9. -__MATHDECL_1 (int,__finite,, (_Mdouble_ __value)) __attribute__ ((__const__));
  10. -_Mdouble_END_NAMESPACE
  11. +__MATHDECL_1 (int,finite,, (_Mdouble_ __value)) __attribute__ ((__const__));
  12. -#ifdef __USE_MISC
  13. /* Return 0 if VALUE is finite or NaN, +1 if it
  14. is +Infinity, -1 if it is -Infinity. */
  15. -__MATHDECL_1 (int,isinf,, (_Mdouble_ __value)) __attribute__ ((__const__));
  16. +__MATHDECL_1 (int,__isinf,, (_Mdouble_ __value)) __attribute__ ((__const__));
  17. /* Return nonzero if VALUE is finite and not NaN. */
  18. -__MATHDECL_1 (int,finite,, (_Mdouble_ __value)) __attribute__ ((__const__));
  19. +__MATHDECL_1 (int,__finite,, (_Mdouble_ __value)) __attribute__ ((__const__));
  20. +_Mdouble_END_NAMESPACE
  21. +#ifdef __USE_MISC
  22. /* Return the remainder of X/Y. */
  23. __MATHCALL (drem,, (_Mdouble_ __x, _Mdouble_ __y));