]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - math/w_remainder_compat.c
Remove __LIBC_INTERNAL_MATH_INLINES
[thirdparty/glibc.git] / math / w_remainder_compat.c
index 6bf5d1ff2e7898e8d8a9b95632aa61e3a3ed3d91..db7d7a56f384e12e91018bbf73d67d34dda080e1 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2011-2017 Free Software Foundation, Inc.
+/* Copyright (C) 2011-2020 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@gmail.com>, 2011.
 
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <math.h>
 #include <math_private.h>
 #include <math-svid-compat.h>
+#include <libm-alias-double.h>
 
 
+#if LIBM_SVID_COMPAT
 /* wrapper remainder */
 double
 __remainder (double x, double y)
@@ -32,10 +34,9 @@ __remainder (double x, double y)
 
   return __ieee754_remainder (x, y);
 }
-weak_alias (__remainder, remainder)
+libm_alias_double (__remainder, remainder)
 weak_alias (__remainder, drem)
-#ifdef NO_LONG_DOUBLE
-strong_alias (__remainder, __remainderl)
-weak_alias (__remainder, remainderl)
+# ifdef NO_LONG_DOUBLE
 weak_alias (__remainder, dreml)
+# endif
 #endif