Make sys_privctl make the prototype.

This commit is contained in:
Philip Homburg 2006-01-27 14:14:13 +00:00
parent 7392c839e0
commit 8ec6f7af83

View File

@ -1,13 +1,13 @@
#include "syslib.h" #include "syslib.h"
int sys_privctl(int proc, int request, int i, vir_bytes p) int sys_privctl(int proc, int request, int i, void *p)
{ {
message m; message m;
m.CTL_PROC_NR = proc; m.CTL_PROC_NR = proc;
m.CTL_REQUEST = request; m.CTL_REQUEST = request;
m.CTL_MM_PRIV = i; m.CTL_MM_PRIV = i;
m.CTL_ARG_PTR = (char *) p; m.CTL_ARG_PTR = p;
return _taskcall(SYSTASK, _SYS_PRIVCTL, &m); return _taskcall(SYSTASK, SYS_PRIVCTL, &m);
} }