summaryrefslogtreecommitdiff
path: root/sysdeps/alpha/fpu/s_lround.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/alpha/fpu/s_lround.c')
-rw-r--r--sysdeps/alpha/fpu/s_lround.c17
1 files changed, 4 insertions, 13 deletions
diff --git a/sysdeps/alpha/fpu/s_lround.c b/sysdeps/alpha/fpu/s_lround.c
index 8a1b68c3fe..e2aeb707af 100644
--- a/sysdeps/alpha/fpu/s_lround.c
+++ b/sysdeps/alpha/fpu/s_lround.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007-2016 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -19,6 +19,7 @@
#define llround not_llround
#include <math.h>
#include <math_ldbl_opt.h>
+#include <libm-alias-double.h>
#undef __llround
#undef llround
@@ -33,15 +34,5 @@ __lround (double x)
}
strong_alias (__lround, __llround)
-weak_alias (__lround, lround)
-weak_alias (__llround, llround)
-#ifdef NO_LONG_DOUBLE
-strong_alias (__lround, __lroundl)
-strong_alias (__lround, __llroundl)
-weak_alias (__lroundl, lroundl)
-weak_alias (__llroundl, llroundl)
-#endif
-#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)
-compat_symbol (libm, __lround, lroundl, GLIBC_2_1);
-compat_symbol (libm, __llround, llroundl, GLIBC_2_1);
-#endif
+libm_alias_double (__lround, lround)
+libm_alias_double (__llround, llround)