summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-06-30 07:43:11 +0000
committerUlrich Drepper <drepper@redhat.com>2004-06-30 07:43:11 +0000
commitf5164429135806c41da679afb662d8482eec0a41 (patch)
tree3cd260d001c1fdb72635223a258d066e989337dd /include/net
parentUse get16/put16 for user given buffer in ucs2/ucs2reverse when unaligned memo... (diff)
downloadglibc-f5164429135806c41da679afb662d8482eec0a41.tar.gz
glibc-f5164429135806c41da679afb662d8482eec0a41.tar.bz2
glibc-f5164429135806c41da679afb662d8482eec0a41.zip
Update.
2004-06-30 Ulrich Drepper <drepper@redhat.com> * include/net/if.h: Handle if_nameindex and if_freenameindex with libc_proto_hidden. * sysdeps/unix/sysv/linux/netlinkaccess.h: New file. * sysdeps/unix/sysv/linux/ifaddrs.c: Export netlink handling functions. * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Implement using netlink if possible. Fall back on ioctl method if necessary. * include/unistd.h: Declare __truncate. * sysdeps/generic/truncate.c: Also define __truncate. * sysdeps/mach/hurd/truncate.c: Likewise. * sysdeps/unix/common/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/truncate64.c: Use __truncate, not truncate.
Diffstat (limited to 'include/net')
-rw-r--r--include/net/if.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/if.h b/include/net/if.h
index 9863dce9aa..872ab6da15 100644
--- a/include/net/if.h
+++ b/include/net/if.h
@@ -4,5 +4,7 @@
libc_hidden_proto (if_nametoindex)
libc_hidden_proto (if_indextoname)
+libc_hidden_proto (if_nameindex)
+libc_hidden_proto (if_freenameindex)
#endif