diff options
Diffstat (limited to 'sysdeps/unix')
-rw-r--r-- | sysdeps/unix/bsd/bsd4.4/waitpid.c | 3 | ||||
-rw-r--r-- | sysdeps/unix/sysv/aix/waitpid.c | 3 | ||||
-rw-r--r-- | sysdeps/unix/sysv/irix4/setgroups.c | 3 | ||||
-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 | ||||
-rw-r--r-- | sysdeps/unix/sysv/sco3.2.4/waitpid.S | 3 | ||||
-rw-r--r-- | sysdeps/unix/sysv/sysv4/waitpid.c | 4 |
8 files changed, 18 insertions, 9 deletions
diff --git a/sysdeps/unix/bsd/bsd4.4/waitpid.c b/sysdeps/unix/bsd/bsd4.4/waitpid.c index cf6c3fde2e..33b29d2c31 100644 --- a/sysdeps/unix/bsd/bsd4.4/waitpid.c +++ b/sysdeps/unix/bsd/bsd4.4/waitpid.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1991,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 @@ -40,4 +40,5 @@ __libc_waitpid (pid_t pid, int *stat_loc, int options) } weak_alias (__libc_waitpid, __waitpid) +libc_hidden_weak (__waitpid) weak_alias (__libc_waitpid, waitpid) diff --git a/sysdeps/unix/sysv/aix/waitpid.c b/sysdeps/unix/sysv/aix/waitpid.c index 4875612327..19bcbab722 100644 --- a/sysdeps/unix/sysv/aix/waitpid.c +++ b/sysdeps/unix/sysv/aix/waitpid.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1995, 1996, 1997, 2000 Free Software Foundation, Inc. +/* Copyright (C) 1991,95,96,97,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 @@ -49,4 +49,5 @@ __libc_waitpid (pid_t pid, int *stat_loc, int options) return kwaitpid (stat_loc, pid, options, NULL, NULL); } weak_alias (__libc_waitpid, __waitpid) +libc_hidden_weak (__waitpid) weak_alias (__libc_waitpid, waitpid) diff --git a/sysdeps/unix/sysv/irix4/setgroups.c b/sysdeps/unix/sysv/irix4/setgroups.c index 57f0ed5c25..8f5b379ac5 100644 --- a/sysdeps/unix/sysv/irix4/setgroups.c +++ b/sysdeps/unix/sysv/irix4/setgroups.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1994, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1994,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 @@ -30,3 +30,4 @@ setgroups (n, groups) { return __syssgi (SGI_SETGROUPS, n, groups); } +libc_hidden_def (setgroups) diff --git a/sysdeps/unix/sysv/linux/i386/setgroups.c b/sysdeps/unix/sysv/linux/i386/setgroups.c index 791d9a22c3..0e9b4550c3 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 9868171290..46f8b1ec11 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 d5e9499ee3..43a63f6ce5 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) diff --git a/sysdeps/unix/sysv/sco3.2.4/waitpid.S b/sysdeps/unix/sysv/sco3.2.4/waitpid.S index 53e08cfa9b..ccbc81274e 100644 --- a/sysdeps/unix/sysv/sco3.2.4/waitpid.S +++ b/sysdeps/unix/sysv/sco3.2.4/waitpid.S @@ -1,4 +1,4 @@ -/* Copyright (C) 1993, 1994, 1995, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1993,94,95,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 @@ -33,4 +33,5 @@ ENTRY (__waitpid) movl r1, (scratch) /* Yes; store the status there. */ null: ret +libc_hidden_def (__waitpid) weak_alias (__waitpid, waitpid) diff --git a/sysdeps/unix/sysv/sysv4/waitpid.c b/sysdeps/unix/sysv/sysv4/waitpid.c index 8b899a75ff..f4700c6cd1 100644 --- a/sysdeps/unix/sysv/sysv4/waitpid.c +++ b/sysdeps/unix/sysv/sysv4/waitpid.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1993, 1994, 1995, 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1993,94,95,96,97,2002 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Brendan Kehoe (brendan@zen.org). @@ -115,6 +115,6 @@ __libc_waitpid (__pid_t pid, int *stat_loc, int options) any PID. */ return infop.__pid; } - weak_alias (__libc_waitpid, __waitpid) weak_alias (__libc_waitpid, waitpid) +libc_hidden_weak (__waitpid) |