diff options
| author | 1995-12-14 04:46:58 +0000 | |
|---|---|---|
| committer | 1995-12-14 04:46:58 +0000 | |
| commit | 3282caa6b49f3a83e4dbfc7a59c09b807899efc6 (patch) | |
| tree | a65c58c5432c66c740c86ebc926a40a5c3add554 /sys/compat/linux/linux_misc.c | |
| parent | from netbsd: (diff) | |
| download | wireguard-openbsd-3282caa6b49f3a83e4dbfc7a59c09b807899efc6.tar.xz wireguard-openbsd-3282caa6b49f3a83e4dbfc7a59c09b807899efc6.zip | |
update from netbsd
Diffstat (limited to 'sys/compat/linux/linux_misc.c')
| -rw-r--r-- | sys/compat/linux/linux_misc.c | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c index a244225896a..be0bdcc4986 100644 --- a/sys/compat/linux/linux_misc.c +++ b/sys/compat/linux/linux_misc.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux_misc.c,v 1.22 1995/10/09 11:24:05 mycroft Exp $ */ +/* $NetBSD: linux_misc.c,v 1.23 1995/12/09 04:01:42 mycroft Exp $ */ /* * Copyright (c) 1995 Frank van der Linden @@ -506,27 +506,6 @@ linux_sys_mmap(p, v, retval) } /* - * Linux doesn't use the retval[1] value to determine whether - * we are the child or parent. - */ -int -linux_sys_fork(p, v, retval) - struct proc *p; - void *v; - register_t *retval; -{ - int error; - - if ((error = sys_fork(p, v, retval))) - return error; - - if (retval[1] == 1) - retval[0] = 0; - - return 0; -} - -/* * This code is partly stolen from src/lib/libc/compat-43/times.c * XXX - CLK_TCK isn't declared in /sys, just in <time.h>, done here */ |
