From: Philip Homburg Date: Fri, 27 Jan 2006 14:14:13 +0000 (+0000) Subject: Make sys_privctl make the prototype. X-Git-Tag: v3.1.2a~403 X-Git-Url: http://zhaoyanbai.com/repos/Bv9ARM.ch12.html?a=commitdiff_plain;h=8ec6f7af830966f99d73e6ae93fce1575820dda9;p=minix.git Make sys_privctl make the prototype. --- diff --git a/lib/syslib/sys_privctl.c b/lib/syslib/sys_privctl.c index ed05f3105..0baa6cfe8 100644 --- a/lib/syslib/sys_privctl.c +++ b/lib/syslib/sys_privctl.c @@ -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); }