Drop main() prototype. Syncs with NetBSD-8
[minix.git] / minix / lib / libsys / vm_prepare.c
blob9cf3d048fa7915c9fad08dd3da1defe95160aa38
1 #include "syslib.h"
3 #include <unistd.h>
4 #include <string.h>
6 int
7 vm_prepare(endpoint_t src_e, endpoint_t dst_e, int flags)
9 message m;
11 memset(&m, 0, sizeof(m));
12 m.m_lsys_vm_update.src = src_e;
13 m.m_lsys_vm_update.dst = dst_e;
14 m.m_lsys_vm_update.flags = flags;
16 return _taskcall(VM_PROC_NR, VM_RS_PREPARE, &m);