diff options
| author | Roland McGrath <roland@gnu.org> | 2002-08-13 01:07:52 +0000 |
|---|---|---|
| committer | Roland McGrath <roland@gnu.org> | 2002-08-13 01:07:52 +0000 |
| commit | 84091b65ffc88ca22d6d2410e54f440413400e28 (patch) | |
| tree | 471fdb7242cbf83c6f0681c09505cd624cc3bc70 | |
| parent | f994831e93b626d5d87d106ae7826605f9715545 (diff) | |
| download | glibc-84091b65ffc88ca22d6d2410e54f440413400e28.tar.xz glibc-84091b65ffc88ca22d6d2410e54f440413400e28.zip | |
2002-08-12 Roland McGrath <roland@redhat.com>
* 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.
| -rw-r--r-- | sysdeps/unix/sysv/aix/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 |
3 files changed, 6 insertions, 4 deletions
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/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) |
