X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=math%2Fw_remainder_compat.c;h=db7d7a56f384e12e91018bbf73d67d34dda080e1;hb=a8ce8222343933d28665e1687ab8862c0664d9f7;hp=6bf5d1ff2e7898e8d8a9b95632aa61e3a3ed3d91;hpb=453a493d2b61b1eb3cadee544e6791dab45c167a;p=thirdparty%2Fglibc.git diff --git a/math/w_remainder_compat.c b/math/w_remainder_compat.c index 6bf5d1ff2e7..db7d7a56f38 100644 --- a/math/w_remainder_compat.c +++ b/math/w_remainder_compat.c @@ -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 , 2011. @@ -14,13 +14,15 @@ You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, see - . */ + . */ #include #include #include +#include +#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