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.
This commit is contained in:
Roland McGrath 2002-08-13 01:07:52 +00:00
parent f994831e93
commit 84091b65ff
3 changed files with 6 additions and 4 deletions

View File

@ -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)

View File

@ -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)

View File

@ -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)