summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/amd64/amd64/amd64-gdbstub.c4
-rw-r--r--sys/i386/i386/i386-gdbstub.c4
-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
-rw-r--r--sys/sys/kernel.h4
7 files changed, 16 insertions, 16 deletions
diff --git a/sys/amd64/amd64/amd64-gdbstub.c b/sys/amd64/amd64/amd64-gdbstub.c
index d91ae61..739b7e6 100644
--- a/sys/amd64/amd64/amd64-gdbstub.c
+++ b/sys/amd64/amd64/amd64-gdbstub.c
@@ -105,6 +105,8 @@
#include "sio.h"
#include "opt_ddb.h"
+void gdb_handle_exception (db_regs_t *, int, int);
+
#if NSIO == 0
void
gdb_handle_exception (db_regs_t *raw_regs, int type, int code)
@@ -113,8 +115,6 @@ gdb_handle_exception (db_regs_t *raw_regs, int type, int code)
#else
/************************************************************************/
-void gdb_handle_exception (db_regs_t *, int, int);
-
extern jmp_buf db_jmpbuf;
/************************************************************************/
diff --git a/sys/i386/i386/i386-gdbstub.c b/sys/i386/i386/i386-gdbstub.c
index d91ae61..739b7e6 100644
--- a/sys/i386/i386/i386-gdbstub.c
+++ b/sys/i386/i386/i386-gdbstub.c
@@ -105,6 +105,8 @@
#include "sio.h"
#include "opt_ddb.h"
+void gdb_handle_exception (db_regs_t *, int, int);
+
#if NSIO == 0
void
gdb_handle_exception (db_regs_t *raw_regs, int type, int code)
@@ -113,8 +115,6 @@ gdb_handle_exception (db_regs_t *raw_regs, int type, int code)
#else
/************************************************************************/
-void gdb_handle_exception (db_regs_t *, int, int);
-
extern jmp_buf db_jmpbuf;
/************************************************************************/
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
diff --git a/sys/sys/kernel.h b/sys/sys/kernel.h
index 52c54fb..b667172 100644
--- a/sys/sys/kernel.h
+++ b/sys/sys/kernel.h
@@ -39,7 +39,7 @@
* SUCH DAMAGE.
*
* @(#)kernel.h 8.3 (Berkeley) 1/21/94
- * $Id: kernel.h,v 1.51 1999/01/28 17:30:51 dillon Exp $
+ * $Id: kernel.h,v 1.52 1999/01/29 08:12:49 dillon Exp $
*/
#ifndef _SYS_KERNEL_H_
@@ -284,7 +284,7 @@ struct kproc_desc {
struct proc **global_procpp; /* ptr to proc ptr save area*/
};
-void kproc_start __P((void *udata));
+void kproc_start __P((const void *udata));
void sysinit_add __P((struct sysinit **set));
#ifdef PSEUDO_LKM
OpenPOWER on IntegriCloud