diff options
Diffstat (limited to 'lib/libc/sys/wait4.c')
-rw-r--r-- | lib/libc/sys/wait4.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/libc/sys/wait4.c b/lib/libc/sys/wait4.c index a5dbd0fcb1aa..1d30c2d44c19 100644 --- a/lib/libc/sys/wait4.c +++ b/lib/libc/sys/wait4.c @@ -1,6 +1,5 @@ /* * Copyright (c) 2014 The FreeBSD Foundation. - * All rights reserved. * * Portions of this software were developed by Konstantin Belousov * under sponsorship from the FreeBSD Foundation. @@ -30,20 +29,13 @@ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/cdefs.h> -__FBSDID("$FreeBSD$"); - #include <sys/types.h> #include <sys/wait.h> #include "libc_private.h" -__weak_reference(__sys_wait4, __wait4); - #pragma weak wait4 pid_t wait4(pid_t pid, int *status, int options, struct rusage *ru) { - - return (((pid_t (*)(pid_t, int *, int, struct rusage *)) - __libc_interposing[INTERPOS_wait4])(pid, status, options, ru)); + return (INTERPOS_SYS(wait4, pid, status, options, ru)); } |