aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/alpha/fpu/s_rint.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/alpha/fpu/s_rint.c')
-rw-r--r--sysdeps/alpha/fpu/s_rint.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/alpha/fpu/s_rint.c b/sysdeps/alpha/fpu/s_rint.c
index 61cba04c27..be09651b35 100644
--- a/sysdeps/alpha/fpu/s_rint.c
+++ b/sysdeps/alpha/fpu/s_rint.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000 Free Software Foundation, Inc.
+/* Copyright (C) 2000, 2006 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Richard Henderson.
@@ -18,6 +18,7 @@
02111-1307 USA. */
#include <math.h>
+#include <math_ldbl_opt.h>
double
@@ -48,3 +49,6 @@ weak_alias (__rint, rint)
strong_alias (__rint, __rintl)
weak_alias (__rint, rintl)
#endif
+#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)
+compat_symbol (libm, __rint, rintl, GLIBC_2_0);
+#endif