diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | resolv/netdb.h | 4 | ||||
-rw-r--r-- | sysdeps/i386/fpu/bits/mathinline.h | 2 |
3 files changed, 10 insertions, 3 deletions
@@ -1,3 +1,10 @@ +2000-03-07 Andreas Jaeger <aj@suse.de> + + * resolv/netdb.h: The descriptions of rresvport and rresvport_af + were swapped. + Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR + libc/1636. + 2000-03-06 Andreas Jaeger <aj@suse.de> * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error diff --git a/resolv/netdb.h b/resolv/netdb.h index 716753c..354d9dd 100644 --- a/resolv/netdb.h +++ b/resolv/netdb.h @@ -410,11 +410,11 @@ extern int ruserok_af (__const char *__rhost, int __suser, /* Try to allocate reserved port, returning a descriptor for a socket opened at this port or -1 if unsuccessful. The search for an available port will start at ALPORT and continues with lower numbers. */ -extern int rresvport_af (int *__alport, sa_family_t __af) __THROW; +extern int rresvport (int *__alport) __THROW; /* This is the equivalent function where the protocol can be selected and which therefore can be used for IPv6. */ -extern int rresvport (int *__alport) __THROW; +extern int rresvport_af (int *__alport, sa_family_t __af) __THROW; #endif diff --git a/sysdeps/i386/fpu/bits/mathinline.h b/sysdeps/i386/fpu/bits/mathinline.h index 7724443..10a617a 100644 --- a/sysdeps/i386/fpu/bits/mathinline.h +++ b/sysdeps/i386/fpu/bits/mathinline.h @@ -455,7 +455,7 @@ __inline_mathcode (asin, __x, return __atan2l (__x, __sqrtl (1.0 - __x * __x))) __inline_mathcode (acos, __x, return __atan2l (__sqrtl (1.0 - __x * __x), __x)) __inline_mathcode_ (long double, __sgn1l, __x, \ - union { long double __xld; unsigned int __xi[3]; } __n = { __xld: = __x }; \ + union { long double __xld; unsigned int __xi[3]; } __n = { __xld: __x }; \ __n.__xi[2] = (__n.__xi[2] & 0x8000) | 0x3fff; \ __n.__xi[1] = 0x80000000; \ __n.__xi[0] = 0; \ |