diff options
author | Roland McGrath <roland@gnu.org> | 2006-02-03 19:15:48 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2006-02-03 19:15:48 +0000 |
commit | 42247128d60f0620ecaf78981429d3379e1d355b (patch) | |
tree | 1f1369dcfef7546bc7f10d5475aa36cdeaeae4c9 | |
parent | 470947aec4808831798ae46b9e49491225111d07 (diff) | |
download | glibc-42247128d60f0620ecaf78981429d3379e1d355b.zip glibc-42247128d60f0620ecaf78981429d3379e1d355b.tar.gz glibc-42247128d60f0620ecaf78981429d3379e1d355b.tar.bz2 |
2006-02-03 Jakub Jelinek <jakub@redhat.com>
* math/math.h [__LDBL_COMPAT && __USE_ISOC99] (nexttowardl): New
prototype.
* math/math.h (__nldbl_nexttowardf): Put __THROW before
__attribute__ ((__const__)).
(__MATHDECL_2): Use __REDIRECT_NTH instead of __REDIRECT
followed by __THROW.
-rw-r--r-- | math/math.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/math/math.h b/math/math.h index 050b89c..c50b2e7 100644 --- a/math/math.h +++ b/math/math.h @@ -103,13 +103,16 @@ __BEGIN_DECLS # ifdef __USE_ISOC99 extern float __nldbl_nexttowardf (float __x, long double __y) - __attribute__ ((__const__)) __THROW; + __THROW __attribute__ ((__const__)); # ifdef __REDIRECT_NTH extern float __REDIRECT_NTH (nexttowardf, (float __x, long double __y), __nldbl_nexttowardf) __attribute__ ((__const__)); extern double __REDIRECT_NTH (nexttoward, (double __x, long double __y), nextafter) __attribute__ ((__const__)); +extern long double __REDIRECT_NTH (nexttowardl, + (long double __x, long double __y), + nextafter) __attribute__ ((__const__)); # endif # endif @@ -118,8 +121,8 @@ extern double __REDIRECT_NTH (nexttoward, (double __x, long double __y), # undef __MATHDECL_1 # define __MATHDECL_2(type, function,suffix, args, alias) \ - extern type __REDIRECT(__MATH_PRECNAME(function,suffix), \ - args, alias) __THROW + extern type __REDIRECT_NTH(__MATH_PRECNAME(function,suffix), \ + args, alias) # define __MATHDECL_1(type, function,suffix, args) \ __MATHDECL_2(type, function,suffix, args, __CONCAT(function,suffix)) # endif |