From 1343b7e5fc7e671a93eb5ed909dde7bb5f6c87cf Mon Sep 17 00:00:00 2001 From: forsyth Date: Fri, 25 Feb 2011 11:03:47 +0000 Subject: 20110225-1104 --- emu/Linux/os.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'emu/Linux') 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 -- cgit v1.2.3