Make memory map syscalls consistently use size_t.

This commit is contained in:
mycroft 1995-03-09 17:28:28 +00:00
parent 5e754ab356
commit 57e6889435
2 changed files with 13 additions and 13 deletions

View File

@ -1,4 +1,4 @@
$NetBSD: syscalls.master,v 1.26 1995/01/06 00:08:17 cgd Exp $ $NetBSD: syscalls.master,v 1.27 1995/03/09 17:28:28 mycroft Exp $
; @(#)syscalls.master 8.2 (Berkeley) 1/13/94 ; @(#)syscalls.master 8.2 (Berkeley) 1/13/94
; NetBSD system call name/number "master" file. ; NetBSD system call name/number "master" file.
@ -121,21 +121,21 @@
63 COMPAT_43 { int getkerninfo(int op, char *where, int *size, \ 63 COMPAT_43 { int getkerninfo(int op, char *where, int *size, \
int arg); } int arg); }
64 COMPAT_43 { int getpagesize(void); } 64 COMPAT_43 { int getpagesize(void); }
65 STD { int msync(caddr_t addr, int len); } 65 STD { int msync(caddr_t addr, size_t len); }
66 STD { int vfork(void); } 66 STD { int vfork(void); }
67 OBSOL vread 67 OBSOL vread
68 OBSOL vwrite 68 OBSOL vwrite
69 STD { int sbrk(int incr); } 69 STD { int sbrk(int incr); }
70 STD { int sstk(int incr); } 70 STD { int sstk(int incr); }
71 COMPAT_43 { int mmap(caddr_t addr, int len, int prot, \ 71 COMPAT_43 { int mmap(caddr_t addr, size_t len, int prot, \
int flags, int fd, long pos); } int flags, int fd, long pos); }
72 STD { int ovadvise(int anom); } vadvise 72 STD { int ovadvise(int anom); } vadvise
73 STD { int munmap(caddr_t addr, int len); } 73 STD { int munmap(caddr_t addr, size_t len); }
74 STD { int mprotect(caddr_t addr, int len, int prot); } 74 STD { int mprotect(caddr_t addr, size_t len, int prot); }
75 STD { int madvise(caddr_t addr, int len, int behav); } 75 STD { int madvise(caddr_t addr, size_t len, int behav); }
76 OBSOL vhangup 76 OBSOL vhangup
77 OBSOL vlimit 77 OBSOL vlimit
78 STD { int mincore(caddr_t addr, int len, char *vec); } 78 STD { int mincore(caddr_t addr, size_t len, char *vec); }
79 STD { int getgroups(u_int gidsetsize, gid_t *gidset); } 79 STD { int getgroups(u_int gidsetsize, gid_t *gidset); }
80 STD { int setgroups(u_int gidsetsize, gid_t *gidset); } 80 STD { int setgroups(u_int gidsetsize, gid_t *gidset); }
81 STD { int getpgrp(void); } 81 STD { int getpgrp(void); }

View File

@ -1,4 +1,4 @@
/* $NetBSD: vm_mmap.c,v 1.38 1995/03/08 01:46:53 cgd Exp $ */ /* $NetBSD: vm_mmap.c,v 1.39 1995/03/09 17:32:18 mycroft Exp $ */
/* /*
* Copyright (c) 1988 University of Utah. * Copyright (c) 1988 University of Utah.
@ -120,7 +120,7 @@ compat_43_mmap(p, uap, retval)
struct proc *p; struct proc *p;
register struct compat_43_mmap_args /* { register struct compat_43_mmap_args /* {
syscallarg(caddr_t) addr; syscallarg(caddr_t) addr;
syscallarg(int) len; syscallarg(size_t) len;
syscallarg(int) prot; syscallarg(int) prot;
syscallarg(int) flags; syscallarg(int) flags;
syscallarg(int) fd; syscallarg(int) fd;
@ -333,7 +333,7 @@ msync(p, uap, retval)
struct proc *p; struct proc *p;
struct msync_args /* { struct msync_args /* {
syscallarg(caddr_t) addr; syscallarg(caddr_t) addr;
syscallarg(int) len; syscallarg(size_t) len;
} */ *uap; } */ *uap;
register_t *retval; register_t *retval;
{ {
@ -422,7 +422,7 @@ munmap(p, uap, retval)
register struct proc *p; register struct proc *p;
register struct munmap_args /* { register struct munmap_args /* {
syscallarg(caddr_t) addr; syscallarg(caddr_t) addr;
syscallarg(int) len; syscallarg(size_t) len;
} */ *uap; } */ *uap;
register_t *retval; register_t *retval;
{ {
@ -536,7 +536,7 @@ madvise(p, uap, retval)
struct proc *p; struct proc *p;
struct madvise_args /* { struct madvise_args /* {
syscallarg(caddr_t) addr; syscallarg(caddr_t) addr;
syscallarg(int) len; syscallarg(size_t) len;
syscallarg(int) behav; syscallarg(int) behav;
} */ *uap; } */ *uap;
register_t *retval; register_t *retval;
@ -552,7 +552,7 @@ mincore(p, uap, retval)
struct proc *p; struct proc *p;
struct mincore_args /* { struct mincore_args /* {
syscallarg(caddr_t) addr; syscallarg(caddr_t) addr;
syscallarg(int) len; syscallarg(size_t) len;
syscallarg(char *) vec; syscallarg(char *) vec;
} */ *uap; } */ *uap;
register_t *retval; register_t *retval;