From a3e59be8d1e0dbb1d2ab25c3dc4b0ad04e159ad2 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 12 Aug 1996 01:42:37 +0000 Subject: Update. Mon Aug 12 03:31:58 1996 Ulrich Drepper * nss/nsswitch.c (__nss_configure_lookup): New function. Allows to specify services. * nss/XXX-lookup.h: Rename database variable and make global. * nss/databases.def: New file. Real names of all databases. * nss/nss.h: New file. Contains declaration useful for users and service developers. * nss/nsswitch.h: Move some declarations to nss/nss.h. * nss.h: New file. Wrapper around nss/nss.h. * nss/Makefile (headers): Add nss.h. (distributes): Add databases.h. Sun Aug 11 16:19:42 1996 Ulrich Drepper Help the poor people with fast machines by making sure only one `ar' commands works on the library. * autolock.sh: New file. Written by Tom Tromey. * Makerules (do-ar): Call autolock.sh shell script instead of directly using `ar'. * config.make.in: Make configuration variable AUTOLOCK which gets initialized by configure. * configure.in: Define variable AUTOLOCK to point to autolock.sh script and mark it to substitute. * string/Makefile: Add -fno-builtin for tst-strlen.c, too. * elf/dl-lookup.c (_dl_lookup_symbol): Allow self-referencing. Patch by David Mosberger-Tang. Sun Aug 11 01:12:38 1996 Richard Henderson * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Optimize LD_BIND_NOW startup by moving Icache flush from here ... (ELF_MACHINE_RUNTIME_TRAMPOLINE): ... to here. (ELF_MACHINE_USER_ADDRESS_MASK): Delete; it is unused. * sysdeps/alpha/divrem.h: Update comment to reflect the actual calling conventions. The code is already correct. Sun Aug 11 01:06:42 1996 Richard Henderson * string/Makefile: Compile tester with -fno-builtin as we want to test our implementations, not gcc's. --- sysdeps/unix/sysv/linux/netinet/in.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'sysdeps/unix/sysv/linux/netinet') diff --git a/sysdeps/unix/sysv/linux/netinet/in.h b/sysdeps/unix/sysv/linux/netinet/in.h index 9ba2bdd5cb..9c128a16a3 100644 --- a/sysdeps/unix/sysv/linux/netinet/in.h +++ b/sysdeps/unix/sysv/linux/netinet/in.h @@ -81,6 +81,8 @@ struct ip_opts char ip_opts[40]; /* Actually variable in size. */ }; +__BEGIN_DECLS + /* Functions to convert between host and network byte order. */ extern unsigned long int ntohl __P ((unsigned long int)); @@ -88,6 +90,11 @@ extern unsigned short int ntohs __P ((unsigned short int)); extern unsigned long int htonl __P ((unsigned long int)); extern unsigned short int htons __P ((unsigned short int)); +/* Bind socket FD to a privileged IP address SIN. */ +extern int bindresvport __P ((int __fd, struct sockaddr_in * __sin)); + +__END_DECLS + #include #if __BYTE_ORDER == __BIG_ENDIAN @@ -103,11 +110,4 @@ extern unsigned short int htons __P ((unsigned short int)); #define htons(x) (x) #endif -__BEGIN_DECLS - -/* Bind socket FD to a privileged IP address SIN. */ -extern int bindresvport __P((int __fd, struct sockaddr_in * __sin)); - -__END_DECLS - #endif /* netinet/in.h */ -- cgit v1.2.3