From f4efd06825ba5fec62662be611d94335eff4f8f7 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 27 Nov 2001 02:20:12 +0000 Subject: Update. 2001-11-26 Ulrich Drepper * stdio-common/vfscanf.c: If incomplete nan of inf(inity) strings are found call conv_error and not input_error [PR libc/2669]. * math/bits/mathcalls.h: Mark ceil and floor as const. Reported by David Mosberger. 2001-11-21 Jim Meyering * posix/regex.c (iswctype, mbrtowc, wcslen, wcscoll, wcrtomb) [_LIBC]: Define to be __-prefixed. Remove unnecessary duplication in `#ifdef _LIBC' blocks. --- math/bits/mathcalls.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'math/bits/mathcalls.h') diff --git a/math/bits/mathcalls.h b/math/bits/mathcalls.h index c1181f737c..12fcfce022 100644 --- a/math/bits/mathcalls.h +++ b/math/bits/mathcalls.h @@ -159,13 +159,13 @@ __MATHCALL (cbrt,, (_Mdouble_ __x)); /* Nearest integer, absolute value, and remainder functions. */ /* Smallest integral value not less than X. */ -__MATHCALL (ceil,, (_Mdouble_ __x)); +__MATHCALLX (ceil,, (_Mdouble_ __x), (__const__)); /* Absolute value of X. */ __MATHCALLX (fabs,, (_Mdouble_ __x), (__const__)); /* Largest integer not greater than X. */ -__MATHCALL (floor,, (_Mdouble_ __x)); +__MATHCALLX (floor,, (_Mdouble_ __x), (__const__)); /* Floating-point modulo remainder of X/Y. */ __MATHCALL (fmod,, (_Mdouble_ __x, _Mdouble_ __y)); -- cgit v1.2.3