+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
/* 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
__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; \