summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-07-15 14:36:09 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-07-15 14:36:09 +0000
commit2e11a1d23a814b47701a5bb499eb0e932e1dbda3 (patch)
treea69f0d79c75913d5cc08a220e9dddefe822c1177 /sys
parenta5a833a71e77aa726c19c934cf625447a6f9581a (diff)
sync
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/init_sysent.c4
-rw-r--r--sys/kern/syscalls.c4
-rw-r--r--sys/sys/syscall.h10
-rw-r--r--sys/sys/syscallargs.h10
4 files changed, 14 insertions, 14 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c
index 42e54eb3fe0..61d02f96c9a 100644
--- a/sys/kern/init_sysent.c
+++ b/sys/kern/init_sysent.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: init_sysent.c,v 1.84 2004/07/15 11:25:18 millert Exp $ */
+/* $OpenBSD: init_sysent.c,v 1.85 2004/07/15 14:36:08 deraadt Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.75 2004/07/15 11:24:46 millert Exp
+ * created from; OpenBSD: syscalls.master,v 1.76 2004/07/15 14:35:34 deraadt Exp
*/
#include <sys/param.h>
diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c
index 306e5e4d25e..12cc734ceb2 100644
--- a/sys/kern/syscalls.c
+++ b/sys/kern/syscalls.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: syscalls.c,v 1.85 2004/07/15 11:25:18 millert Exp $ */
+/* $OpenBSD: syscalls.c,v 1.86 2004/07/15 14:36:08 deraadt Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.75 2004/07/15 11:24:46 millert Exp
+ * created from; OpenBSD: syscalls.master,v 1.76 2004/07/15 14:35:34 deraadt Exp
*/
char *syscallnames[] = {
diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h
index ee99db49d12..9ba57b5af00 100644
--- a/sys/sys/syscall.h
+++ b/sys/sys/syscall.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: syscall.h,v 1.83 2004/07/15 11:25:18 millert Exp $ */
+/* $OpenBSD: syscall.h,v 1.84 2004/07/15 14:36:08 deraadt Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.75 2004/07/15 11:24:46 millert Exp
+ * created from; OpenBSD: syscalls.master,v 1.76 2004/07/15 14:35:34 deraadt Exp
*/
/* syscall: "syscall" ret: "int" args: "int" "..." */
@@ -95,7 +95,7 @@
/* syscall: "accept" ret: "int" args: "int" "struct sockaddr *" "socklen_t *" */
#define SYS_accept 30
-/* syscall: "getpeername" ret: "int" args: "int" "struct sockaddr *" "int *" */
+/* syscall: "getpeername" ret: "int" args: "int" "struct sockaddr *" "socklen_t *" */
#define SYS_getpeername 31
/* syscall: "getsockname" ret: "int" args: "int" "struct sockaddr *" "socklen_t *" */
@@ -627,7 +627,7 @@
/* syscall: "extattrctl" ret: "int" args: "const char *" "int" "const char *" "int" "const char *" */
#define SYS_extattrctl 274
-/* syscall: "extattr_set_file" ret: "int" args: "const char *" "int" "const char *" "void *" "size_t" */
+/* syscall: "extattr_set_file" ret: "int" args: "const char *" "int" "const char *" "const void *" "size_t" */
#define SYS_extattr_set_file 275
/* syscall: "extattr_get_file" ret: "ssize_t" args: "const char *" "int" "const char *" "void *" "size_t" */
@@ -636,7 +636,7 @@
/* syscall: "extattr_delete_file" ret: "int" args: "const char *" "int" "const char *" */
#define SYS_extattr_delete_file 277
-/* syscall: "extattr_set_fd" ret: "int" args: "int" "int" "const char *" "void *" "size_t" */
+/* syscall: "extattr_set_fd" ret: "int" args: "int" "int" "const char *" "const void *" "size_t" */
#define SYS_extattr_set_fd 278
/* syscall: "extattr_get_fd" ret: "ssize_t" args: "int" "int" "const char *" "void *" "size_t" */
diff --git a/sys/sys/syscallargs.h b/sys/sys/syscallargs.h
index 2e0e7237c4a..6b58af621a4 100644
--- a/sys/sys/syscallargs.h
+++ b/sys/sys/syscallargs.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: syscallargs.h,v 1.85 2004/07/15 11:25:18 millert Exp $ */
+/* $OpenBSD: syscallargs.h,v 1.86 2004/07/15 14:36:08 deraadt Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.75 2004/07/15 11:24:46 millert Exp
+ * created from; OpenBSD: syscalls.master,v 1.76 2004/07/15 14:35:34 deraadt Exp
*/
#ifdef syscallarg
@@ -164,7 +164,7 @@ struct sys_accept_args {
struct sys_getpeername_args {
syscallarg(int) fdes;
syscallarg(struct sockaddr *) asa;
- syscallarg(int *) alen;
+ syscallarg(socklen_t *) alen;
};
struct sys_getsockname_args {
@@ -1139,7 +1139,7 @@ struct sys_extattr_set_file_args {
syscallarg(const char *) path;
syscallarg(int) attrnamespace;
syscallarg(const char *) attrname;
- syscallarg(void *) data;
+ syscallarg(const void *) data;
syscallarg(size_t) nbytes;
};
@@ -1161,7 +1161,7 @@ struct sys_extattr_set_fd_args {
syscallarg(int) fd;
syscallarg(int) attrnamespace;
syscallarg(const char *) attrname;
- syscallarg(void *) data;
+ syscallarg(const void *) data;
syscallarg(size_t) nbytes;
};