From 58e071515a45fb23bad4298512bb2951fe41dbc5 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 5 Jun 1996 03:29:45 +0000 Subject: * math/Makefile (libm-support, libm-calls): New variables. (libm-routines): Construct this from those. (calls): New variable. (routines): Construct this from it. * resolv/res_debug.c: Add missing #include . * sysdeps/unix/getlogin.c: Must pass struct utmp ptr to getutline_r. * sysdeps/unix/getlogin_r.c: Likewise. * sysdeps/libm-ieee754/w_hypotl.c: Fix typo. * sysdeps/libm-ieee754/w_cabsl.c: __cabsl_complex -> __cabs_complexl * math/Makefile (long-m-routines): Define recursive variable as $(long-m-$(long-double-fcts)). (long-m-yes): Put list of routines here. (long-c-routines, long-c-yes): Likewise. * sysdeps/unix/sysv/linux/schedbits.h: File removed. * sysdeps/i386/Makefile (long-double-fcts): New variable, set to yes. * sysdeps/m68k/Makefile: Likewise. * math/Makefile [$(long-double-fcts)!=yes] (CPPFLAGS): Append -DNO_LONG_DOUBLE. --- sysdeps/libm-ieee754/w_cabsl.c | 2 +- sysdeps/libm-ieee754/w_hypotl.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sysdeps/libm-ieee754') diff --git a/sysdeps/libm-ieee754/w_cabsl.c b/sysdeps/libm-ieee754/w_cabsl.c index e82130d46d..21ef860a95 100644 --- a/sysdeps/libm-ieee754/w_cabsl.c +++ b/sysdeps/libm-ieee754/w_cabsl.c @@ -11,7 +11,7 @@ long double __cabsl(z) - struct __cabsl_complex z; + struct __cabs_complexl z; { return __hypotl(z.x, z.y); } diff --git a/sysdeps/libm-ieee754/w_hypotl.c b/sysdeps/libm-ieee754/w_hypotl.c index 9f92e950d6..2ec215fd13 100644 --- a/sysdeps/libm-ieee754/w_hypotl.c +++ b/sysdeps/libm-ieee754/w_hypotl.c @@ -27,7 +27,7 @@ static char rcsid[] = "$NetBSD: $"; #ifdef __STDC__ - long double __hypotl(longdouble x, long double y)/* wrapper hypotl */ + long double __hypotl(long double x, long double y)/* wrapper hypotl */ #else long double __hypotl(x,y) /* wrapper hypotl */ long double x,y; -- cgit 1.4.1