diff options
author | Roland McGrath <roland@gnu.org> | 2002-08-13 01:08:15 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-08-13 01:08:15 +0000 |
commit | faea9de6e06ea59dd5f891f5a9860cb1cb805ab1 (patch) | |
tree | 9cd07cf6da7897816d0936ae854677275975ddc6 /sysdeps/unix/sysv/linux | |
parent | df9629171c45a83e14ff8319b4d0837ceee22d3f (diff) | |
download | glibc-faea9de6e06ea59dd5f891f5a9860cb1cb805ab1.zip glibc-faea9de6e06ea59dd5f891f5a9860cb1cb805ab1.tar.gz glibc-faea9de6e06ea59dd5f891f5a9860cb1cb805ab1.tar.bz2 |
* 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 'sysdeps/unix/sysv/linux')
-rw-r--r-- | sysdeps/unix/sysv/linux/i386/setgroups.c | 3 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/if_index.c | 5 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/waitpid.c | 3 |
3 files changed, 8 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/setgroups.c b/sysdeps/unix/sysv/linux/i386/setgroups.c index 791d9a2..0e9b455 100644 --- a/sysdeps/unix/sysv/linux/i386/setgroups.c +++ b/sysdeps/unix/sysv/linux/i386/setgroups.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1997, 1998, 2000 Free Software Foundation, Inc. +/* Copyright (C) 1997,98,2000,02 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -87,3 +87,4 @@ setgroups (size_t n, const gid_t *groups) #endif } } +libc_hidden_def (setgroups) diff --git a/sysdeps/unix/sysv/linux/if_index.c b/sysdeps/unix/sysv/linux/if_index.c index 9868171..46f8b1e 100644 --- a/sysdeps/unix/sysv/linux/if_index.c +++ b/sysdeps/unix/sysv/linux/if_index.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc. +/* Copyright (C) 1997,98,99,2000,02 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -62,6 +62,8 @@ if_nametoindex (const char *ifname) return ifr.ifr_ifindex; #endif } +libc_hidden_def (if_nametoindex) + void if_freenameindex (struct if_nameindex *ifn) @@ -242,6 +244,7 @@ if_indextoname (unsigned int ifindex, char *ifname) # endif #endif } +libc_hidden_def (if_indextoname) #if 0 void diff --git a/sysdeps/unix/sysv/linux/waitpid.c b/sysdeps/unix/sysv/linux/waitpid.c index d5e9499..43a63f6 100644 --- a/sysdeps/unix/sysv/linux/waitpid.c +++ b/sysdeps/unix/sysv/linux/waitpid.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1992, 1995, 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1991,92,95,96,97,2002 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -26,4 +26,5 @@ __libc_waitpid (__pid_t pid, int *stat_loc, int options) return __wait4 (pid, stat_loc, options, NULL); } weak_alias (__libc_waitpid, __waitpid) +libc_hidden_weak (__waitpid) weak_alias (__libc_waitpid, waitpid) |