diff options
| author | forsyth <forsyth@vitanuova.com> | 2011-02-25 11:03:47 +0000 |
|---|---|---|
| committer | forsyth <forsyth@vitanuova.com> | 2011-02-25 11:03:47 +0000 |
| commit | 1343b7e5fc7e671a93eb5ed909dde7bb5f6c87cf (patch) | |
| tree | 3b2191854e8b2a5f50de592b39eb1c279b902503 /emu/Linux/os.c | |
| parent | d7b19496d84ff3d0b03eac8f31bdf59287c70065 (diff) | |
20110225-1104
Diffstat (limited to 'emu/Linux/os.c')
| -rw-r--r-- | emu/Linux/os.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/emu/Linux/os.c b/emu/Linux/os.c index df4bb997..7a3daaaa 100644 --- a/emu/Linux/os.c +++ b/emu/Linux/os.c @@ -104,7 +104,7 @@ tramp(void *arg) return 0; /* not reached */ } -int +void kproc(char *name, void (*func)(void*), void *arg, int flags) { Proc *p; @@ -171,8 +171,6 @@ kproc(char *name, void (*func)(void*), void *arg, int flags) if(clone(tramp, tos, CLONE_PTRACE|CLONE_VM|CLONE_FS|CLONE_FILES|SIGCHLD, p, nil, nil, nil) <= 0) panic("kproc: clone failed"); - - return 0; } static void |
