summaryrefslogtreecommitdiff
path: root/emu/Plan9/os.c
diff options
context:
space:
mode:
Diffstat (limited to 'emu/Plan9/os.c')
-rw-r--r--emu/Plan9/os.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/emu/Plan9/os.c b/emu/Plan9/os.c
index d681ec67..97b9b7e0 100644
--- a/emu/Plan9/os.c
+++ b/emu/Plan9/os.c
@@ -67,7 +67,7 @@ pexit(char *msg, int)
}
int
-kproc(char *name, void (*func)(void*), void *arg, int flags)
+kproc1(char *name, void (*func)(void*), void *arg, int flags)
{
int pid;
Proc *p;
@@ -132,6 +132,12 @@ kproc(char *name, void (*func)(void*), void *arg, int flags)
}
void
+kproc(char *name, void (*func)(void*), void *arg, int flags)
+{
+ kproc1(name, func, arg, flags);
+}
+
+void
traphandler(void *reg, char *msg)
{
int intwait;