summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/init_main.c6
-rw-r--r--sys/kern/vfs_aio.c6
-rw-r--r--sys/kern/vfs_export.c4
-rw-r--r--sys/kern/vfs_subr.c4
4 files changed, 10 insertions, 10 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index 8a2217a..9cc2778 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -39,7 +39,7 @@
* SUCH DAMAGE.
*
* @(#)init_main.c 8.9 (Berkeley) 1/21/94
- * $Id: init_main.c,v 1.104 1999/01/26 02:38:10 julian Exp $
+ * $Id: init_main.c,v 1.105 1999/01/29 08:36:44 dillon Exp $
*/
#include "opt_devfs.h"
@@ -283,9 +283,9 @@ restart:
/* ARGSUSED*/
void
kproc_start(udata)
- void *udata;
+ const void *udata;
{
- struct kproc_desc *kp = udata;
+ const struct kproc_desc *kp = udata;
struct proc *p = curproc;
#ifdef DIAGNOSTIC
diff --git a/sys/kern/vfs_aio.c b/sys/kern/vfs_aio.c
index b6178df..33cf33c 100644
--- a/sys/kern/vfs_aio.c
+++ b/sys/kern/vfs_aio.c
@@ -13,7 +13,7 @@
* bad that happens because of using this software isn't the responsibility
* of the author. This software is distributed AS-IS.
*
- * $Id: vfs_aio.c,v 1.40 1999/01/28 17:32:00 dillon Exp $
+ * $Id: vfs_aio.c,v 1.41 1999/01/29 08:29:04 bde Exp $
*/
/*
@@ -235,7 +235,7 @@ static int aio_aqueue(struct proc *p, struct aiocb *job, int type) ;
static void aio_physwakeup(struct buf *bp);
static int aio_fphysio(struct proc *p, struct aiocblist *aiocbe, int type);
static int aio_qphysio(struct proc *p, struct aiocblist *iocb);
-static void aio_daemon(void *uproc);
+static void aio_daemon(const void *uproc);
SYSINIT(aio, SI_SUB_VFS, SI_ORDER_ANY, aio_onceonly, NULL);
@@ -602,7 +602,7 @@ aio_process(struct aiocblist *aiocbe)
* but the setup (and address space mgmt) is done in this routine.
*/
static void
-aio_daemon(void *uproc)
+aio_daemon(const void *uproc)
{
int s;
struct aioproclist *aiop;
diff --git a/sys/kern/vfs_export.c b/sys/kern/vfs_export.c
index 23a4e83..4bebc5e 100644
--- a/sys/kern/vfs_export.c
+++ b/sys/kern/vfs_export.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)vfs_subr.c 8.31 (Berkeley) 5/26/95
- * $Id: vfs_subr.c,v 1.183 1999/01/21 08:29:05 dillon Exp $
+ * $Id: vfs_subr.c,v 1.184 1999/01/28 00:57:47 dillon Exp $
*/
/*
@@ -905,7 +905,7 @@ vn_syncer_add_to_worklist(vp, delay)
static void sched_sync __P((void));
static struct proc *updateproc;
-static struct kproc_desc up_kp = {
+static const struct kproc_desc up_kp = {
"syncer",
sched_sync,
&updateproc
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index 23a4e83..4bebc5e 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)vfs_subr.c 8.31 (Berkeley) 5/26/95
- * $Id: vfs_subr.c,v 1.183 1999/01/21 08:29:05 dillon Exp $
+ * $Id: vfs_subr.c,v 1.184 1999/01/28 00:57:47 dillon Exp $
*/
/*
@@ -905,7 +905,7 @@ vn_syncer_add_to_worklist(vp, delay)
static void sched_sync __P((void));
static struct proc *updateproc;
-static struct kproc_desc up_kp = {
+static const struct kproc_desc up_kp = {
"syncer",
sched_sync,
&updateproc
OpenPOWER on IntegriCloud