aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-10-29 21:40:21 +0000
committerUlrich Drepper <drepper@redhat.com>1999-10-29 21:40:21 +0000
commitf720d3d2120ebb9a87af7c10e0939fb9dfee20ef (patch)
tree9f62a2e35e2bad276ff45b81c3769d694ca344ed /include
parent26d63253e1e4bb2f9c22fdd75b1bcfaafe5d0324 (diff)
downloadglibc-f720d3d2120ebb9a87af7c10e0939fb9dfee20ef.tar
glibc-f720d3d2120ebb9a87af7c10e0939fb9dfee20ef.tar.gz
glibc-f720d3d2120ebb9a87af7c10e0939fb9dfee20ef.tar.bz2
glibc-f720d3d2120ebb9a87af7c10e0939fb9dfee20ef.zip
Update.
1999-10-27 Andreas Jaeger <aj@suse.de> * sysdeps/generic/ifreq.h: New file. * resolv/res_hconf.c: Add missing includes to get all prototypes. (_res_hconf_reorder_addrs): Rewrite. This never worked before. Reported by John DiMarco <jdd@cs.toronto.edu>. (_res_hconf_reorder_addrs): Made thread safe. (free_mem): New function, needed for malloc debugging. 1999-10-29 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/if_index.c (opensock): Move function to ... * sysdeps/generic/opensock.c (__opensock): ...here in a new file. * sysdeps/unix/sysv/linux/if_index.c: Change all callers of opensock to use __opensock. * socket/Makefile (routines): Add opensock. * include/sys/socket.h (__opensock): Add prototype declaration.
Diffstat (limited to 'include')
-rw-r--r--include/sys/socket.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sys/socket.h b/include/sys/socket.h
index d6737f5b34..dadd866613 100644
--- a/include/sys/socket.h
+++ b/include/sys/socket.h
@@ -3,4 +3,9 @@
/* Now define the internal interfaces. */
extern int __socket (int __domain, int __type, int __protocol) __THROW;
+
+/* Return a socket of any type. The socket can be used in subsequent
+ ioctl calls to talk to the kernel. */
+extern int __opensock (void) internal_function;
+
#endif