]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - math/s_nextafter.c
powerpc: Fix build of wcscpy with --disable-multi-arch
[thirdparty/glibc.git] / math / s_nextafter.c
index dfa5e860c40f7ae31843d13bd48d183378a4fc6b..792c9d1d78436339ee97581b1b3d7c0ae6576d3e 100644 (file)
@@ -27,13 +27,15 @@ static char rcsid[] = "$NetBSD: s_nextafter.c,v 1.8 1995/05/10 20:47:58 jtc Exp
 
 #include <errno.h>
 #include <math.h>
+#include <math-barriers.h>
 #include <math_private.h>
 #include <float.h>
+#include <libm-alias-double.h>
 
 double __nextafter(double x, double y)
 {
        int32_t hx,hy,ix,iy;
-       u_int32_t lx,ly;
+       uint32_t lx,ly;
 
        EXTRACT_WORDS(hx,lx,x);
        EXTRACT_WORDS(hy,ly,y);
@@ -83,10 +85,8 @@ double __nextafter(double x, double y)
        INSERT_WORDS(x,hx,lx);
        return x;
 }
-weak_alias (__nextafter, nextafter)
+libm_alias_double (__nextafter, nextafter)
 #ifdef NO_LONG_DOUBLE
-strong_alias (__nextafter, __nextafterl)
-weak_alias (__nextafter, nextafterl)
 strong_alias (__nextafter, __nexttowardl)
 weak_alias (__nexttowardl, nexttowardl)
 #undef __nexttoward