about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/alpha/fpu/e_sqrt.c2
-rw-r--r--sysdeps/generic/math_ldbl.h2
-rw-r--r--sysdeps/generic/s_nextafter.c4
-rw-r--r--sysdeps/generic/strtold.c1
4 files changed, 6 insertions, 3 deletions
diff --git a/sysdeps/alpha/fpu/e_sqrt.c b/sysdeps/alpha/fpu/e_sqrt.c
index 7b4e596664..295a1c3692 100644
--- a/sysdeps/alpha/fpu/e_sqrt.c
+++ b/sysdeps/alpha/fpu/e_sqrt.c
@@ -162,4 +162,4 @@ static double __full_ieee754_sqrt(double) __attribute__((unused));
 
 #endif /* _IEEE_FP_INEXACT */
 
-#include <sysdeps/libm-ieee754/e_sqrt.c>
+#include <sysdeps/ieee754/dbl-64/e_sqrt.c>
diff --git a/sysdeps/generic/math_ldbl.h b/sysdeps/generic/math_ldbl.h
index 83684e61c4..f0b97ef8f9 100644
--- a/sysdeps/generic/math_ldbl.h
+++ b/sysdeps/generic/math_ldbl.h
@@ -1,4 +1,4 @@
-#ifndef _MATH_PRIVATE_H
+#ifndef _MATH_PRIVATE_H_
 #error "Never use <math_ldbl.h> directly; include <math_private.h> instead."
 #endif
 
diff --git a/sysdeps/generic/s_nextafter.c b/sysdeps/generic/s_nextafter.c
index 8b81e563d9..996b5ceca3 100644
--- a/sysdeps/generic/s_nextafter.c
+++ b/sysdeps/generic/s_nextafter.c
@@ -21,6 +21,10 @@ static char rcsid[] = "$NetBSD: s_nextafter.c,v 1.8 1995/05/10 20:47:58 jtc Exp
  *   Special cases:
  */
 
+/* Ugly hack so that the aliasing works.  */
+#define __nexttoward __internal___nexttoward
+#define nexttoward __internal_nexttoward
+
 #include "math.h"
 #include "math_private.h"
 
diff --git a/sysdeps/generic/strtold.c b/sysdeps/generic/strtold.c
index 86b2f7f2f4..f6f6eb9103 100644
--- a/sysdeps/generic/strtold.c
+++ b/sysdeps/generic/strtold.c
@@ -30,4 +30,3 @@ strtold (const char *nptr, char **endptr)
 {
   return __strtod_internal (nptr, endptr, 0);
 }
-#endif