From 1343b7e5fc7e671a93eb5ed909dde7bb5f6c87cf Mon Sep 17 00:00:00 2001 From: forsyth Date: Fri, 25 Feb 2011 11:03:47 +0000 Subject: 20110225-1104 --- emu/Plan9/win.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'emu/Plan9/win.c') diff --git a/emu/Plan9/win.c b/emu/Plan9/win.c index 2f280853..e588cd79 100644 --- a/emu/Plan9/win.c +++ b/emu/Plan9/win.c @@ -16,6 +16,8 @@ enum extern Memimage *screenimage; +extern int kproc1(char*, void (*)(void*), void*, int); + static ulong* attachwindow(Rectangle*, ulong*, int*, int*); static void plan9readmouse(void*); @@ -150,8 +152,8 @@ attachscreen(Rectangle *r, ulong *chan, int *d, int *width, int *softscreen) return nil; } - mousepid = kproc("readmouse", plan9readmouse, nil, 0); - keybdpid = kproc("readkbd", plan9readkeybd, nil, 0); + mousepid = kproc1("readmouse", plan9readmouse, nil, 0); + keybdpid = kproc1("readkbd", plan9readkeybd, nil, 0); fd = open("/dev/label", OWRITE); if(fd >= 0){ -- cgit v1.2.3