This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch, master, updated. glibc-2.15-82-ge58ef0f


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  e58ef0f20437e121a06e0eb3d6c6c10c3630746e (commit)
      from  a47a831ad82735bd19cfa1d0b441c1bd62b2a29a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=e58ef0f20437e121a06e0eb3d6c6c10c3630746e

commit e58ef0f20437e121a06e0eb3d6c6c10c3630746e
Author: Ulrich Drepper <drepper@gmail.com>
Date:   Tue Jan 10 21:10:28 2012 -0500

    Add const attribute to fmin and fmax

diff --git a/ChangeLog b/ChangeLog
index b137d4e..c25ea20 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
 
+	* math/bits/mathcalls.h: Add const attribute to fmin and fmax.
+
 	* sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
 	* sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
 	* sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
diff --git a/math/bits/mathcalls.h b/math/bits/mathcalls.h
index f433ddf..207ab20 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.  */

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog             |    2 ++
 math/bits/mathcalls.h |    4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]