Fixed missed const char * in lstat (thanks enami) and changed caddr_t -> void *
in the mman family.
This commit is contained in:
parent
3c07a14a75
commit
3130feba6d
|
@ -1,4 +1,4 @@
|
||||||
$NetBSD: syscalls.master,v 1.60 1997/10/16 23:41:31 christos Exp $
|
$NetBSD: syscalls.master,v 1.61 1997/10/18 16:35:25 christos Exp $
|
||||||
|
|
||||||
; @(#)syscalls.master 8.2 (Berkeley) 1/13/94
|
; @(#)syscalls.master 8.2 (Berkeley) 1/13/94
|
||||||
|
|
||||||
|
@ -127,7 +127,7 @@
|
||||||
53 STD { int sys_sigaltstack(const struct sigaltstack *nss, \
|
53 STD { int sys_sigaltstack(const struct sigaltstack *nss, \
|
||||||
struct sigaltstack *oss); }
|
struct sigaltstack *oss); }
|
||||||
54 STD { int sys_ioctl(int fd, \
|
54 STD { int sys_ioctl(int fd, \
|
||||||
u_long com, ... caddr_t data); }
|
u_long com, ... void *data); }
|
||||||
55 COMPAT_12 { int sys_reboot(int opt); } oreboot
|
55 COMPAT_12 { int sys_reboot(int opt); } oreboot
|
||||||
56 STD { int sys_revoke(const char *path); }
|
56 STD { int sys_revoke(const char *path); }
|
||||||
57 STD { int sys_symlink(const char *path, \
|
57 STD { int sys_symlink(const char *path, \
|
||||||
|
@ -151,10 +151,10 @@
|
||||||
71 COMPAT_43 { int sys_mmap(caddr_t addr, size_t len, int prot, \
|
71 COMPAT_43 { int sys_mmap(caddr_t addr, size_t len, int prot, \
|
||||||
int flags, int fd, long pos); } ommap
|
int flags, int fd, long pos); } ommap
|
||||||
72 STD { int sys_ovadvise(int anom); } vadvise
|
72 STD { int sys_ovadvise(int anom); } vadvise
|
||||||
73 STD { int sys_munmap(caddr_t addr, size_t len); }
|
73 STD { int sys_munmap(void *addr, size_t len); }
|
||||||
74 STD { int sys_mprotect(caddr_t addr, size_t len, \
|
74 STD { int sys_mprotect(void *addr, size_t len, \
|
||||||
int prot); }
|
int prot); }
|
||||||
75 STD { int sys_madvise(caddr_t addr, size_t len, \
|
75 STD { int sys_madvise(void *addr, size_t len, \
|
||||||
int behav); }
|
int behav); }
|
||||||
76 OBSOL vhangup
|
76 OBSOL vhangup
|
||||||
77 OBSOL vlimit
|
77 OBSOL vlimit
|
||||||
|
@ -369,7 +369,7 @@
|
||||||
const struct rlimit *rlp); }
|
const struct rlimit *rlp); }
|
||||||
196 COMPAT_12 { int sys_getdirentries(int fd, char *buf, \
|
196 COMPAT_12 { int sys_getdirentries(int fd, char *buf, \
|
||||||
u_int count, long *basep); }
|
u_int count, long *basep); }
|
||||||
197 STD { caddr_t sys_mmap(caddr_t addr, size_t len, int prot, \
|
197 STD { void *sys_mmap(void *addr, size_t len, int prot, \
|
||||||
int flags, int fd, long pad, off_t pos); }
|
int flags, int fd, long pad, off_t pos); }
|
||||||
198 INDIR { quad_t sys___syscall(quad_t num, ...); }
|
198 INDIR { quad_t sys___syscall(quad_t num, ...); }
|
||||||
199 STD { off_t sys_lseek(int fd, int pad, off_t offset, \
|
199 STD { off_t sys_lseek(int fd, int pad, off_t offset, \
|
||||||
|
@ -380,8 +380,8 @@
|
||||||
202 STD { int sys___sysctl(int *name, u_int namelen, \
|
202 STD { int sys___sysctl(int *name, u_int namelen, \
|
||||||
void *old, size_t *oldlenp, void *new, \
|
void *old, size_t *oldlenp, void *new, \
|
||||||
size_t newlen); }
|
size_t newlen); }
|
||||||
203 STD { int sys_mlock(caddr_t addr, size_t len); }
|
203 STD { int sys_mlock(void *addr, size_t len); }
|
||||||
204 STD { int sys_munlock(caddr_t addr, size_t len); }
|
204 STD { int sys_munlock(void *addr, size_t len); }
|
||||||
205 STD { int sys_undelete(const char *path); }
|
205 STD { int sys_undelete(const char *path); }
|
||||||
206 STD { int sys_futimes(int fd, \
|
206 STD { int sys_futimes(int fd, \
|
||||||
const struct timeval *tptr); }
|
const struct timeval *tptr); }
|
||||||
|
@ -505,14 +505,14 @@
|
||||||
const char *to); }
|
const char *to); }
|
||||||
271 STD { int sys_swapctl(int cmd, void *arg, int misc); }
|
271 STD { int sys_swapctl(int cmd, void *arg, int misc); }
|
||||||
272 STD { int sys_getdents(int fd, char *buf, size_t count); }
|
272 STD { int sys_getdents(int fd, char *buf, size_t count); }
|
||||||
273 STD { int sys_minherit(caddr_t addr, size_t len, \
|
273 STD { int sys_minherit(void *addr, size_t len, \
|
||||||
int inherit); }
|
int inherit); }
|
||||||
274 STD { int sys_lchmod(const char *path, mode_t mode); }
|
274 STD { int sys_lchmod(const char *path, mode_t mode); }
|
||||||
275 STD { int sys_lchown(const char *path, uid_t uid, \
|
275 STD { int sys_lchown(const char *path, uid_t uid, \
|
||||||
gid_t gid); }
|
gid_t gid); }
|
||||||
276 STD { int sys_lutimes(const char *path, \
|
276 STD { int sys_lutimes(const char *path, \
|
||||||
const struct timeval *tptr); }
|
const struct timeval *tptr); }
|
||||||
277 STD { int sys_msync(caddr_t addr, size_t len, int flags); }
|
277 STD { int sys_msync(void *addr, size_t len, int flags); }
|
||||||
278 STD { int sys_stat(const char *path, struct stat *ub); }
|
278 STD { int sys_stat(const char *path, struct stat *ub); }
|
||||||
279 STD { int sys_fstat(int fd, struct stat *sb); }
|
279 STD { int sys_fstat(int fd, struct stat *sb); }
|
||||||
280 STD { int sys_lstat(char *path, struct stat *ub); }
|
280 STD { int sys_lstat(const char *path, struct stat *ub); }
|
||||||
|
|
Loading…
Reference in New Issue