Fixed extern declaration from pointer to array
[minix.git] / servers / vfs / mmap.c
blob4793c53ddb5efc270eb830e4573f2c8092f78624
1 /* mmap implementation in VFS
3 * The entry points into this file are
4 * do_vm_mmap: VM calls VM_VFS_MMAP
5 */
7 #include "fs.h"
8 #include <sys/stat.h>
9 #include <fcntl.h>
10 #include <string.h>
11 #include <unistd.h>
12 #include <minix/callnr.h>
13 #include <minix/com.h>
14 #include <minix/u64.h>
15 #include "file.h"
16 #include "fproc.h"
17 #include "lock.h"
18 #include "param.h"
19 #include <dirent.h>
20 #include <assert.h>
21 #include <minix/vfsif.h>
22 #include "vnode.h"
23 #include "vmnt.h"
25 /*===========================================================================*
26 * do_vm_mmap *
27 *===========================================================================*/
28 PUBLIC int do_vm_mmap()