summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-06-02 05:23:15 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-06-02 05:23:15 +0000
commit2752d6fe6b16974f092a7ef8779d83224790bcee (patch)
tree76bbf572579c7283c7e57254447c6b38d693956f /sys
parentc0d91411fa7bbae92c9e2878291f93fd3fb50d1c (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.h8
-rw-r--r--sys/sys/syscallargs.h8
4 files changed, 12 insertions, 12 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c
index b06407f57ff..4673d93f1e0 100644
--- a/sys/kern/init_sysent.c
+++ b/sys/kern/init_sysent.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: init_sysent.c,v 1.27 1998/05/11 06:14:16 deraadt Exp $ */
+/* $OpenBSD: init_sysent.c,v 1.28 1998/06/02 05:23:10 deraadt Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.25 1998/05/11 06:13:45 deraadt Exp
+ * created from; OpenBSD: syscalls.master,v 1.26 1998/06/02 05:22:29 deraadt Exp
*/
#include <sys/param.h>
diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c
index d453e9ccda8..4e46afd3b96 100644
--- a/sys/kern/syscalls.c
+++ b/sys/kern/syscalls.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: syscalls.c,v 1.27 1998/05/11 06:14:18 deraadt Exp $ */
+/* $OpenBSD: syscalls.c,v 1.28 1998/06/02 05:23:12 deraadt Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.25 1998/05/11 06:13:45 deraadt Exp
+ * created from; OpenBSD: syscalls.master,v 1.26 1998/06/02 05:22:29 deraadt Exp
*/
char *syscallnames[] = {
diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h
index 2e903b3a8ba..4adf61949f5 100644
--- a/sys/sys/syscall.h
+++ b/sys/sys/syscall.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: syscall.h,v 1.27 1998/05/11 06:14:15 deraadt Exp $ */
+/* $OpenBSD: syscall.h,v 1.28 1998/06/02 05:23:13 deraadt Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.25 1998/05/11 06:13:45 deraadt Exp
+ * created from; OpenBSD: syscalls.master,v 1.26 1998/06/02 05:22:29 deraadt Exp
*/
/* syscall: "syscall" ret: "int" args: "int" "..." */
@@ -503,10 +503,10 @@
/* syscall: "__sysctl" ret: "int" args: "int *" "u_int" "void *" "size_t *" "void *" "size_t" */
#define SYS___sysctl 202
-/* syscall: "mlock" ret: "int" args: "void *" "size_t" */
+/* syscall: "mlock" ret: "int" args: "const void *" "size_t" */
#define SYS_mlock 203
-/* syscall: "munlock" ret: "int" args: "void *" "size_t" */
+/* syscall: "munlock" ret: "int" args: "const void *" "size_t" */
#define SYS_munlock 204
/* syscall: "undelete" ret: "int" args: "const char *" */
diff --git a/sys/sys/syscallargs.h b/sys/sys/syscallargs.h
index d637e5989dd..ead6bec31e4 100644
--- a/sys/sys/syscallargs.h
+++ b/sys/sys/syscallargs.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: syscallargs.h,v 1.28 1998/05/11 06:14:14 deraadt Exp $ */
+/* $OpenBSD: syscallargs.h,v 1.29 1998/06/02 05:23:14 deraadt Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.25 1998/05/11 06:13:45 deraadt Exp
+ * created from; OpenBSD: syscalls.master,v 1.26 1998/06/02 05:22:29 deraadt Exp
*/
#define syscallarg(x) union { x datum; register_t pad; }
@@ -866,12 +866,12 @@ struct sys___sysctl_args {
};
struct sys_mlock_args {
- syscallarg(void *) addr;
+ syscallarg(const void *) addr;
syscallarg(size_t) len;
};
struct sys_munlock_args {
- syscallarg(void *) addr;
+ syscallarg(const void *) addr;
syscallarg(size_t) len;
};