summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-07-15 14:35:35 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-07-15 14:35:35 +0000
commita5a833a71e77aa726c19c934cf625447a6f9581a (patch)
tree473d5393f8bb39ff68c2d9c5c53eee1c56f6e1e8 /sys/kern
parentaac26a1826da28175b40d5910eab414b7ea61f9d (diff)
3 functions had inexact types; millert ok
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/syscalls.master8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master
index d87a1a3d2c7..7f94a67832e 100644
--- a/sys/kern/syscalls.master
+++ b/sys/kern/syscalls.master
@@ -1,4 +1,4 @@
-; $OpenBSD: syscalls.master,v 1.75 2004/07/15 11:24:46 millert Exp $
+; $OpenBSD: syscalls.master,v 1.76 2004/07/15 14:35:34 deraadt Exp $
; $NetBSD: syscalls.master,v 1.32 1996/04/23 10:24:21 mycroft Exp $
; @(#)syscalls.master 8.2 (Berkeley) 1/13/94
@@ -99,7 +99,7 @@
30 STD { int sys_accept(int s, struct sockaddr *name, \
socklen_t *anamelen); }
31 STD { int sys_getpeername(int fdes, struct sockaddr *asa, \
- int *alen); }
+ socklen_t *alen); }
32 STD { int sys_getsockname(int fdes, struct sockaddr *asa, \
socklen_t *alen); }
33 STD { int sys_access(const char *path, int flags); }
@@ -545,14 +545,14 @@
const char *attrname); }
275 STD { int sys_extattr_set_file(const char *path, \
int attrnamespace, const char *attrname, \
- void *data, size_t nbytes); }
+ const void *data, size_t nbytes); }
276 STD { ssize_t sys_extattr_get_file(const char *path, \
int attrnamespace, const char *attrname, \
void *data, size_t nbytes); }
277 STD { int sys_extattr_delete_file(const char *path, \
int attrnamespace, const char *attrname); }
278 STD { int sys_extattr_set_fd(int fd, int attrnamespace, \
- const char *attrname, void *data, \
+ const char *attrname, const void *data, \
size_t nbytes); }
279 STD { ssize_t sys_extattr_get_fd(int fd, \
int attrnamespace, const char *attrname, \