summaryrefslogtreecommitdiff
path: root/sysproc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysproc.c')
-rw-r--r--sysproc.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/sysproc.c b/sysproc.c
index f840738..329feee 100644
--- a/sysproc.c
+++ b/sysproc.c
@@ -31,17 +31,6 @@ sys_wait(void)
return wait();
}
-#if 0
-int
-sys_kill(void)
-{
- int pid;
-
- if(argint(0, &pid) < 0)
- return -1;
- return kill(pid);
-}
-
int
sys_sbrk(void)
{
@@ -56,6 +45,17 @@ sys_sbrk(void)
return addr;
}
+#if 0
+int
+sys_kill(void)
+{
+ int pid;
+
+ if(argint(0, &pid) < 0)
+ return -1;
+ return kill(pid);
+}
+
int
sys_sleep(void)
{