summaryrefslogtreecommitdiff
path: root/emu/Plan9/win.c
diff options
context:
space:
mode:
authorforsyth <forsyth@vitanuova.com>2011-02-25 11:03:47 +0000
committerforsyth <forsyth@vitanuova.com>2011-02-25 11:03:47 +0000
commit1343b7e5fc7e671a93eb5ed909dde7bb5f6c87cf (patch)
tree3b2191854e8b2a5f50de592b39eb1c279b902503 /emu/Plan9/win.c
parentd7b19496d84ff3d0b03eac8f31bdf59287c70065 (diff)
20110225-1104
Diffstat (limited to 'emu/Plan9/win.c')
-rw-r--r--emu/Plan9/win.c6
1 files changed, 4 insertions, 2 deletions
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){