about summary refs log tree commit diff
path: root/include/net/if.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-08-13 01:08:15 +0000
committerRoland McGrath <roland@gnu.org>2002-08-13 01:08:15 +0000
commitfaea9de6e06ea59dd5f891f5a9860cb1cb805ab1 (patch)
tree9cd07cf6da7897816d0936ae854677275975ddc6 /include/net/if.h
parentdf9629171c45a83e14ff8319b4d0837ceee22d3f (diff)
downloadglibc-faea9de6e06ea59dd5f891f5a9860cb1cb805ab1.tar.gz
glibc-faea9de6e06ea59dd5f891f5a9860cb1cb805ab1.tar.xz
glibc-faea9de6e06ea59dd5f891f5a9860cb1cb805ab1.zip
* include/sys/wait.h (__waitpid): Add libc_hidden_proto.
	* sysdeps/unix/sysv/sco3.2.4/waitpid.S: Add libc_hidden_def.
	* sysdeps/unix/sysv/sysv4/waitpid.c: Add libc_hidden_weak.
	* sysdeps/unix/sysv/linux/waitpid.c: Likewise.
	* sysdeps/unix/sysv/aix/waitpid.c: Likewise.
	* sysdeps/unix/bsd/bsd4.4/waitpid.c: Likewise.
	* sysdeps/generic/waitpid.c: Likewise.

	* include/net/if.h: New file.  Use libc_hidden_proto
	for if_nametoindex and if_indextoname.
	* sysdeps/generic/if_index.c: Add libc_hidden_def.
	* sysdeps/mach/hurd/if_index.c: Likewise.
	* sysdeps/unix/sysv/linux/if_index.c: Likewise.

	* include/grp.h (setgroups): Add libc_hidden_proto.
	* sysdeps/generic/setgroups.c: Add libc_hidden_def.
	* sysdeps/mach/hurd/setgroups.c: Likewise.
	* sysdeps/unix/sysv/irix4/setgroups.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
Diffstat (limited to 'include/net/if.h')
-rw-r--r--include/net/if.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/net/if.h b/include/net/if.h
new file mode 100644
index 0000000000..9863dce9aa
--- /dev/null
+++ b/include/net/if.h
@@ -0,0 +1,8 @@
+#ifndef _NET_IF_H
+
+# include_next <net/if.h>
+
+libc_hidden_proto (if_nametoindex)
+libc_hidden_proto (if_indextoname)
+
+#endif