about summary refs log tree commit diff
path: root/math/bits/mathcalls.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2012-01-10 21:10:28 -0500
committerUlrich Drepper <drepper@gmail.com>2012-01-10 21:10:28 -0500
commite58ef0f20437e121a06e0eb3d6c6c10c3630746e (patch)
treeef649776e057c63591e22b6a551db8fcacea9bd5 /math/bits/mathcalls.h
parenta47a831ad82735bd19cfa1d0b441c1bd62b2a29a (diff)
downloadglibc-e58ef0f20437e121a06e0eb3d6c6c10c3630746e.tar.gz
glibc-e58ef0f20437e121a06e0eb3d6c6c10c3630746e.tar.xz
glibc-e58ef0f20437e121a06e0eb3d6c6c10c3630746e.zip
Add const attribute to fmin and fmax
Diffstat (limited to 'math/bits/mathcalls.h')
-rw-r--r--math/bits/mathcalls.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/bits/mathcalls.h b/math/bits/mathcalls.h
index f433ddf79f..207ab20b49 100644
--- a/math/bits/mathcalls.h
+++ b/math/bits/mathcalls.h
@@ -337,10 +337,10 @@ __MATHDECL (long long int,llround,, (_Mdouble_ __x));
 __MATHCALL (fdim,, (_Mdouble_ __x, _Mdouble_ __y));
 
 /* Return maximum numeric value from X and Y.  */
-__MATHCALL (fmax,, (_Mdouble_ __x, _Mdouble_ __y));
+__MATHCALLX (fmax,, (_Mdouble_ __x, _Mdouble_ __y), (__const__));
 
 /* Return minimum numeric value from X and Y.  */
-__MATHCALL (fmin,, (_Mdouble_ __x, _Mdouble_ __y));
+__MATHCALLX (fmin,, (_Mdouble_ __x, _Mdouble_ __y), (__const__));
 
 
 /* Classify given number.  */