projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77072f4
)
* sysdeps/alpha/__math.h (__copysign): Use attribute instead of old
author
Brendan Kehoe
<brendan@zen.org>
Fri, 10 Mar 1995 02:10:40 +0000
(
02:10
+0000)
committer
Brendan Kehoe
<brendan@zen.org>
Fri, 10 Mar 1995 02:10:40 +0000
(
02:10
+0000)
__CONSTVALUE by adding forward decl first with the const attribute.
sysdeps/alpha/__math.h
patch
|
blob
|
history
diff --git
a/sysdeps/alpha/__math.h
b/sysdeps/alpha/__math.h
index
b06f716
..
06e43db
100644
(file)
--- a/
sysdeps/alpha/__math.h
+++ b/
sysdeps/alpha/__math.h
@@
-18,7
+18,9
@@
Cambridge, MA 02139, USA. */
#if defined (__GNUC__) && !defined (__NO_MATH_INLINES)
-extern __inline __CONSTVALUE double
+extern __inline double __copysign (double __x, double __y) __attribute__ ((__const__));
+
+extern __inline double
__copysign (double __x, double __y)
{
__asm ("cpys %1, %2, %0" : "=f" (__x) : "f" (__y), "f" (__x));