Make sys_privctl make the prototype.
This commit is contained in:
parent
7392c839e0
commit
8ec6f7af83
@ -1,13 +1,13 @@
|
||||
#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;
|
||||
|
||||
m.CTL_PROC_NR = proc;
|
||||
m.CTL_REQUEST = request;
|
||||
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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user