From faea9de6e06ea59dd5f891f5a9860cb1cb805ab1 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 13 Aug 2002 01:08:15 +0000 Subject: * 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. --- include/grp.h | 2 ++ include/net/if.h | 8 ++++++++ include/sys/wait.h | 2 ++ 3 files changed, 12 insertions(+) create mode 100644 include/net/if.h (limited to 'include') diff --git a/include/grp.h b/include/grp.h index 4469d78..5ed9c97 100644 --- a/include/grp.h +++ b/include/grp.h @@ -1,6 +1,8 @@ #ifndef _GRP_H #include +libc_hidden_proto (setgroups) + /* Now define the internal interfaces. */ extern int __getgrent_r (struct group *__resultbuf, char *buffer, size_t __buflen, struct group **__result) diff --git a/include/net/if.h b/include/net/if.h new file mode 100644 index 0000000..9863dce --- /dev/null +++ b/include/net/if.h @@ -0,0 +1,8 @@ +#ifndef _NET_IF_H + +# include_next + +libc_hidden_proto (if_nametoindex) +libc_hidden_proto (if_indextoname) + +#endif diff --git a/include/sys/wait.h b/include/sys/wait.h index ebaa199..d1560b2 100644 --- a/include/sys/wait.h +++ b/include/sys/wait.h @@ -4,6 +4,8 @@ /* Now define the internal interfaces. */ extern __pid_t __waitpid (__pid_t __pid, int *__stat_loc, int __options); +libc_hidden_proto (__waitpid) + extern __pid_t __libc_waitpid (pid_t __pid, int *__stat_loc, int __options); extern __pid_t __libc_wait (int *__stat_loc); extern __pid_t __wait (__WAIT_STATUS __stat_loc); -- cgit v1.1