summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/init_main.c50
-rw-r--r--sys/kern/kern_clock.c8
-rw-r--r--sys/kern/kern_malloc.c8
-rw-r--r--sys/kern/kern_synch.c8
-rw-r--r--sys/kern/kern_tc.c8
-rw-r--r--sys/kern/kern_timeout.c8
-rw-r--r--sys/kern/subr_clist.c8
-rw-r--r--sys/kern/subr_prof.c6
-rw-r--r--sys/kern/sysv_msg.c6
-rw-r--r--sys/kern/sysv_sem.c6
-rw-r--r--sys/kern/sysv_shm.c6
-rw-r--r--sys/kern/tty_cons.c4
-rw-r--r--sys/kern/tty_subr.c8
-rw-r--r--sys/kern/uipc_domain.c26
-rw-r--r--sys/kern/uipc_mbuf.c8
-rw-r--r--sys/kern/vfs_bio.c4
-rw-r--r--sys/kern/vfs_conf.c8
-rw-r--r--sys/kern/vfs_init.c8
-rw-r--r--sys/kern/vfs_mount.c8
19 files changed, 98 insertions, 98 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index 447483d..9de00a8 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.28 1995/08/29 23:59:22 bde Exp $
+ * $Id: init_main.c,v 1.29 1995/09/03 05:43:35 julian Exp $
*/
#include <sys/param.h>
@@ -222,8 +222,8 @@ main(framep)
*/
/* ARGSUSED*/
void
-kproc_start( udata)
-caddr_t udata; /* pointer to a 'kproc_desc' ? */
+kproc_start(udata)
+ void *udata; /* pointer to a 'kproc_desc' ? */
{
struct kproc_desc *kp = (struct kproc_desc *)udata;
struct proc *p = curproc;
@@ -272,15 +272,15 @@ char copyright[] =
char copyright[] =
"Copyright (c) 1982, 1986, 1989, 1991, 1993\n\tThe Regents of the University of California. All rights reserved.\n\n";
#endif
-static void print_caddr_t __P((caddr_t data));
+static void print_caddr_t __P((void *data));
static void
print_caddr_t(data)
- caddr_t data;
+ void *data;
{
printf("%s", (char *)data);
}
SYSINIT(announce, SI_SUB_COPYRIGHT, SI_ORDER_FIRST, print_caddr_t,
- (caddr_t)copyright)
+ copyright)
/*
@@ -297,10 +297,10 @@ SYSINIT(announce, SI_SUB_COPYRIGHT, SI_ORDER_FIRST, print_caddr_t,
***************************************************************************
*/
/* ARGSUSED*/
-void proc0_init __P((caddr_t udata));
+void proc0_init __P((void *udata));
void
-proc0_init( udata)
-caddr_t udata; /* not used*/
+proc0_init(udata)
+ void *udata; /* not used*/
{
register struct proc *p;
register struct filedesc0 *fdp;
@@ -400,10 +400,10 @@ caddr_t udata; /* not used*/
SYSINIT(p0init, SI_SUB_INTRINSIC, SI_ORDER_FIRST, proc0_init, NULL)
/* ARGSUSED*/
-void proc0_post __P((caddr_t udata));
+void proc0_post __P((void *udata));
void
-proc0_post( udata)
-caddr_t udata; /* not used*/
+proc0_post(udata)
+ void *udata; /* not used*/
{
/*
* Now can look at time, having had a chance to verify the time
@@ -430,10 +430,10 @@ SYSINIT(p0post, SI_SUB_INTRINSIC_POST, SI_ORDER_FIRST, proc0_post, NULL)
***************************************************************************
*/
/* ARGSUSED*/
-void sched_setup __P((caddr_t udata));
+void sched_setup __P((void *udata));
void
-sched_setup( udata)
-caddr_t udata; /* not used*/
+sched_setup(udata)
+ void *udata; /* not used*/
{
/* Kick off timeout driven events by calling first time. */
roundrobin(NULL);
@@ -442,22 +442,22 @@ caddr_t udata; /* not used*/
SYSINIT(sched_setup, SI_SUB_KICK_SCHEDULER, SI_ORDER_FIRST, sched_setup, NULL)
/* ARGSUSED*/
-void xxx_vfs_mountroot __P((caddr_t udata));
+void xxx_vfs_mountroot __P((void *udata));
void
-xxx_vfs_mountroot( udata)
-caddr_t udata; /* not used*/
+xxx_vfs_mountroot(udata)
+ void *udata; /* not used*/
{
/* Mount the root file system. */
- if ((*mountroot)( (caddr_t)mountrootvfsops))
+ if ((*mountroot)(mountrootvfsops))
panic("cannot mount root");
}
SYSINIT(mountroot, SI_SUB_ROOT, SI_ORDER_FIRST, xxx_vfs_mountroot, NULL)
/* ARGSUSED*/
-void xxx_vfs_root_fdtab __P((caddr_t udata));
+void xxx_vfs_root_fdtab __P((void *udata));
void
-xxx_vfs_root_fdtab( udata)
-caddr_t udata; /* not used*/
+xxx_vfs_root_fdtab(udata)
+ void *udata; /* not used*/
{
register struct filedesc0 *fdp = &filedesc0;
@@ -485,7 +485,7 @@ SYSINIT(retrofit, SI_SUB_ROOT_FDTAB, SI_ORDER_FIRST, xxx_vfs_root_fdtab, NULL)
***************************************************************************
*/
-static void kthread_init __P(( caddr_t udata));
+static void kthread_init __P((void *udata));
SYSINIT_KT(init,SI_SUB_KTHREAD_INIT, SI_ORDER_FIRST, kthread_init, NULL)
@@ -493,8 +493,8 @@ static void start_init __P((struct proc *p, void *framep));
/* ARGSUSED*/
static void
-kthread_init( udata)
-caddr_t udata; /* not used*/
+kthread_init(udata)
+ void *udata; /* not used*/
{
/* Create process 1 (init(8)). */
diff --git a/sys/kern/kern_clock.c b/sys/kern/kern_clock.c
index 04af42b..ede7b6d 100644
--- a/sys/kern/kern_clock.c
+++ b/sys/kern/kern_clock.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)kern_clock.c 8.5 (Berkeley) 1/21/94
- * $Id: kern_clock.c,v 1.14 1995/07/29 11:40:12 bde Exp $
+ * $Id: kern_clock.c,v 1.15 1995/08/28 09:18:43 julian Exp $
*/
/* Portions of this software are covered by the following: */
@@ -79,7 +79,7 @@
* System initialization
*/
-static void initclocks __P(( caddr_t udata));
+static void initclocks __P((void *udata));
SYSINIT(clocks, SI_SUB_CLOCKS, SI_ORDER_FIRST, initclocks, NULL)
@@ -393,8 +393,8 @@ hardupdate(offset)
*/
/* ARGSUSED*/
static void
-initclocks( udata)
-caddr_t udata; /* not used*/
+initclocks(udata)
+ void *udata; /* not used*/
{
register int i;
diff --git a/sys/kern/kern_malloc.c b/sys/kern/kern_malloc.c
index 52c95c5..dba7930 100644
--- a/sys/kern/kern_malloc.c
+++ b/sys/kern/kern_malloc.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)kern_malloc.c 8.3 (Berkeley) 1/4/94
- * $Id: kern_malloc.c,v 1.12 1995/05/30 08:05:33 rgrimes Exp $
+ * $Id: kern_malloc.c,v 1.13 1995/08/28 09:18:44 julian Exp $
*/
#include <sys/param.h>
@@ -47,7 +47,7 @@
* System initialization
*/
-static void kmeminit __P((caddr_t));
+static void kmeminit __P((void *));
SYSINIT(kmem, SI_SUB_KMEM, SI_ORDER_FIRST, kmeminit, NULL)
@@ -366,8 +366,8 @@ free(addr, type)
*/
/* ARGSUSED*/
static void
-kmeminit( udata)
-caddr_t udata; /* not used*/
+kmeminit(udata)
+ void *udata; /* not used*/
{
register long indx;
int npg;
diff --git a/sys/kern/kern_synch.c b/sys/kern/kern_synch.c
index 6f97a63..1d0603e 100644
--- a/sys/kern/kern_synch.c
+++ b/sys/kern/kern_synch.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)kern_synch.c 8.6 (Berkeley) 1/21/94
- * $Id: kern_synch.c,v 1.11 1995/05/30 08:05:44 rgrimes Exp $
+ * $Id: kern_synch.c,v 1.12 1995/08/28 09:18:45 julian Exp $
*/
#include <sys/param.h>
@@ -59,7 +59,7 @@
* System initialization
*/
-static void rqinit __P((caddr_t));
+static void rqinit __P((void *));
SYSINIT(runqueue, SI_SUB_RUN_QUEUE, SI_ORDER_FIRST, rqinit, NULL)
@@ -614,8 +614,8 @@ mi_switch()
*/
/* ARGSUSED*/
static void
-rqinit( udata)
-caddr_t udata; /* not used*/
+rqinit(udata)
+ void *udata; /* not used*/
{
register int i;
diff --git a/sys/kern/kern_tc.c b/sys/kern/kern_tc.c
index 04af42b..ede7b6d 100644
--- a/sys/kern/kern_tc.c
+++ b/sys/kern/kern_tc.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)kern_clock.c 8.5 (Berkeley) 1/21/94
- * $Id: kern_clock.c,v 1.14 1995/07/29 11:40:12 bde Exp $
+ * $Id: kern_clock.c,v 1.15 1995/08/28 09:18:43 julian Exp $
*/
/* Portions of this software are covered by the following: */
@@ -79,7 +79,7 @@
* System initialization
*/
-static void initclocks __P(( caddr_t udata));
+static void initclocks __P((void *udata));
SYSINIT(clocks, SI_SUB_CLOCKS, SI_ORDER_FIRST, initclocks, NULL)
@@ -393,8 +393,8 @@ hardupdate(offset)
*/
/* ARGSUSED*/
static void
-initclocks( udata)
-caddr_t udata; /* not used*/
+initclocks(udata)
+ void *udata; /* not used*/
{
register int i;
diff --git a/sys/kern/kern_timeout.c b/sys/kern/kern_timeout.c
index 04af42b..ede7b6d 100644
--- a/sys/kern/kern_timeout.c
+++ b/sys/kern/kern_timeout.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)kern_clock.c 8.5 (Berkeley) 1/21/94
- * $Id: kern_clock.c,v 1.14 1995/07/29 11:40:12 bde Exp $
+ * $Id: kern_clock.c,v 1.15 1995/08/28 09:18:43 julian Exp $
*/
/* Portions of this software are covered by the following: */
@@ -79,7 +79,7 @@
* System initialization
*/
-static void initclocks __P(( caddr_t udata));
+static void initclocks __P((void *udata));
SYSINIT(clocks, SI_SUB_CLOCKS, SI_ORDER_FIRST, initclocks, NULL)
@@ -393,8 +393,8 @@ hardupdate(offset)
*/
/* ARGSUSED*/
static void
-initclocks( udata)
-caddr_t udata; /* not used*/
+initclocks(udata)
+ void *udata; /* not used*/
{
register int i;
diff --git a/sys/kern/subr_clist.c b/sys/kern/subr_clist.c
index 9694bcb..ec88067 100644
--- a/sys/kern/subr_clist.c
+++ b/sys/kern/subr_clist.c
@@ -6,7 +6,7 @@
* of this software, nor does the author assume any responsibility
* for damages incurred with its use.
*
- * $Id: tty_subr.c,v 1.11 1995/07/11 19:39:54 bde Exp $
+ * $Id: tty_subr.c,v 1.12 1995/08/28 09:18:50 julian Exp $
*/
/*
@@ -25,7 +25,7 @@
* System initialization
*/
-static void clist_init __P((caddr_t));
+static void clist_init __P((void *));
SYSINIT(clist, SI_SUB_CLIST, SI_ORDER_FIRST, clist_init, NULL)
struct cblock *cfreelist = 0;
@@ -57,8 +57,8 @@ cbstat()
*/
/* ARGSUSED*/
static void
-clist_init( udata)
-caddr_t udata; /* not used*/
+clist_init(udata)
+ void *udata; /* not used*/
{
/*
* Allocate an initial base set of cblocks as a 'slush'.
diff --git a/sys/kern/subr_prof.c b/sys/kern/subr_prof.c
index 22406c5..f044c28 100644
--- a/sys/kern/subr_prof.c
+++ b/sys/kern/subr_prof.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)subr_prof.c 8.3 (Berkeley) 9/23/93
- * $Id: subr_prof.c,v 1.7 1995/08/28 09:18:46 julian Exp $
+ * $Id: subr_prof.c,v 1.8 1995/08/29 03:09:05 bde Exp $
*/
#include <sys/param.h>
@@ -48,7 +48,7 @@
#include <sys/malloc.h>
#include <sys/gmon.h>
-static void kmstartup __P((caddr_t));
+static void kmstartup __P((void *));
SYSINIT(kmem, SI_SUB_KPROF, SI_ORDER_FIRST, kmstartup, NULL)
struct gmonparam _gmonparam = { GMON_PROF_OFF };
@@ -58,7 +58,7 @@ extern char etext[];
static void
kmstartup(udata)
- caddr_t udata;
+ void *udata;
{
char *cp;
struct gmonparam *p = &_gmonparam;
diff --git a/sys/kern/sysv_msg.c b/sys/kern/sysv_msg.c
index 8f66ebe..533cf75 100644
--- a/sys/kern/sysv_msg.c
+++ b/sys/kern/sysv_msg.c
@@ -1,4 +1,4 @@
-/* $Id: sysv_msg.c,v 1.6 1995/08/28 09:18:46 julian Exp $ */
+/* $Id: sysv_msg.c,v 1.7 1995/08/30 00:33:00 bde Exp $ */
/*
* Implementation of SVID messages
@@ -26,7 +26,7 @@
#include <sys/msg.h>
#include <sys/malloc.h>
-static void msginit __P((caddr_t));
+static void msginit __P((void *));
SYSINIT(sysv_msg, SI_SUB_SYSV_MSG, SI_ORDER_FIRST, msginit, NULL)
#define MSG_DEBUG
@@ -46,7 +46,7 @@ struct msqid_ds *msqids; /* MSGMNI msqid_ds struct's */
void
msginit(udata)
- caddr_t udata;
+ void *udata;
{
register int i;
diff --git a/sys/kern/sysv_sem.c b/sys/kern/sysv_sem.c
index d688251..afcbc6d 100644
--- a/sys/kern/sysv_sem.c
+++ b/sys/kern/sysv_sem.c
@@ -1,4 +1,4 @@
-/* $Id: sysv_sem.c,v 1.7 1995/08/28 09:18:47 julian Exp $ */
+/* $Id: sysv_sem.c,v 1.8 1995/08/30 00:33:01 bde Exp $ */
/*
* Implementation of SVID semaphores
@@ -15,7 +15,7 @@
#include <sys/sem.h>
#include <sys/malloc.h>
-static void seminit __P((caddr_t));
+static void seminit __P((void *));
SYSINIT(sysv_sem, SI_SUB_SYSV_SEM, SI_ORDER_FIRST, seminit, NULL)
static int semctl(), semget(), semop(), semconfig();
@@ -31,7 +31,7 @@ static struct proc *semlock_holder = NULL;
void
seminit(udata)
- caddr_t udata;
+ void *udata;
{
register int i;
diff --git a/sys/kern/sysv_shm.c b/sys/kern/sysv_shm.c
index a80d781..ffbad31 100644
--- a/sys/kern/sysv_shm.c
+++ b/sys/kern/sysv_shm.c
@@ -1,4 +1,4 @@
-/* $Id: sysv_shm.c,v 1.7 1995/08/28 09:18:48 julian Exp $ */
+/* $Id: sysv_shm.c,v 1.8 1995/08/30 00:33:02 bde Exp $ */
/* $NetBSD: sysv_shm.c,v 1.23 1994/07/04 23:25:12 glass Exp $ */
/*
@@ -48,7 +48,7 @@
#include <vm/vm_map.h>
#include <vm/vm_kern.h>
-static void shminit __P((caddr_t));
+static void shminit __P((void *));
SYSINIT(sysv_shm, SI_SUB_SYSV_SHM, SI_ORDER_FIRST, shminit, NULL)
int oshmctl();
@@ -557,7 +557,7 @@ shmexit(p)
void
shminit(udata)
- caddr_t udata;
+ void *udata;
{
int i;
vm_offset_t garbage1, garbage2;
diff --git a/sys/kern/tty_cons.c b/sys/kern/tty_cons.c
index af17d13..a47b6ce 100644
--- a/sys/kern/tty_cons.c
+++ b/sys/kern/tty_cons.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* from: @(#)cons.c 7.2 (Berkeley) 5/9/91
- * $Id: cons.c,v 1.30 1995/06/26 07:39:49 bde Exp $
+ * $Id: cons.c,v 1.31 1995/09/03 05:43:01 julian Exp $
*/
#include <sys/param.h>
@@ -80,7 +80,7 @@ static struct tty *cn_tp; /* physical console tty struct */
#include <sys/devfsext.h>
#include "sys/kernel.h"
-void cndev_init(caddr_t data) /* data not used */
+void cndev_init(void *data) /* data not used */
{
void * x;
/* path name devsw minor type uid gid perm*/
diff --git a/sys/kern/tty_subr.c b/sys/kern/tty_subr.c
index 9694bcb..ec88067 100644
--- a/sys/kern/tty_subr.c
+++ b/sys/kern/tty_subr.c
@@ -6,7 +6,7 @@
* of this software, nor does the author assume any responsibility
* for damages incurred with its use.
*
- * $Id: tty_subr.c,v 1.11 1995/07/11 19:39:54 bde Exp $
+ * $Id: tty_subr.c,v 1.12 1995/08/28 09:18:50 julian Exp $
*/
/*
@@ -25,7 +25,7 @@
* System initialization
*/
-static void clist_init __P((caddr_t));
+static void clist_init __P((void *));
SYSINIT(clist, SI_SUB_CLIST, SI_ORDER_FIRST, clist_init, NULL)
struct cblock *cfreelist = 0;
@@ -57,8 +57,8 @@ cbstat()
*/
/* ARGSUSED*/
static void
-clist_init( udata)
-caddr_t udata; /* not used*/
+clist_init(udata)
+ void *udata; /* not used*/
{
/*
* Allocate an initial base set of cblocks as a 'slush'.
diff --git a/sys/kern/uipc_domain.c b/sys/kern/uipc_domain.c
index 7eea042..b715dee 100644
--- a/sys/kern/uipc_domain.c
+++ b/sys/kern/uipc_domain.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)uipc_domain.c 8.2 (Berkeley) 10/18/93
- * $Id: uipc_domain.c,v 1.7 1995/08/16 16:13:21 bde Exp $
+ * $Id: uipc_domain.c,v 1.8 1995/08/28 09:18:51 julian Exp $
*/
#include <sys/param.h>
@@ -54,19 +54,19 @@
* want to call a registration function rather than being handled here
* in domaininit(). Probably this will look like:
*
- * SYSINIT(unique, SI_SUB_PROTO_DOMAI, SI_ORDER_ANY, domain_add, (caddr_t)xxx)
+ * SYSINIT(unique, SI_SUB_PROTO_DOMAI, SI_ORDER_ANY, domain_add, xxx)
*
* Where 'xxx' is replaced by the address of a parameter struct to be
* passed to the doamin_add() function.
*/
static int x_save_spl; /* used by kludge*/
-static void kludge_splimp __P((caddr_t));
-static void kludge_splx __P((caddr_t));
-static void domaininit __P((caddr_t));
-SYSINIT(splimp, SI_SUB_PROTO_BEGIN, SI_ORDER_FIRST, kludge_splimp, (caddr_t)&x_save_spl)
+static void kludge_splimp __P((void *));
+static void kludge_splx __P((void *));
+static void domaininit __P((void *));
+SYSINIT(splimp, SI_SUB_PROTO_BEGIN, SI_ORDER_FIRST, kludge_splimp, &x_save_spl)
SYSINIT(domain, SI_SUB_PROTO_DOMAIN, SI_ORDER_FIRST, domaininit, NULL)
-SYSINIT(splx, SI_SUB_PROTO_END, SI_ORDER_FIRST, kludge_splx, (caddr_t)&x_save_spl)
+SYSINIT(splx, SI_SUB_PROTO_END, SI_ORDER_FIRST, kludge_splx, &x_save_spl)
void pffasttimo __P((void *));
@@ -83,8 +83,8 @@ extern struct linker_set domain_set;
/* ARGSUSED*/
static void
-domaininit( udata)
-caddr_t udata; /* not used*/
+domaininit(udata)
+ void *udata; /* not used*/
{
register struct domain *dp, **dpp;
register struct protosw *pr;
@@ -131,8 +131,8 @@ caddr_t udata; /* not used*/
* to this does not also take place at splimp by default.
*/
static void
-kludge_splimp( udata)
-caddr_t udata;
+kludge_splimp(udata)
+ void *udata;
{
int *savesplp = (int *)udata;
@@ -140,8 +140,8 @@ caddr_t udata;
}
static void
-kludge_splx( udata)
-caddr_t udata;
+kludge_splx(udata)
+ void *udata;
{
int *savesplp = (int *)udata;
diff --git a/sys/kern/uipc_mbuf.c b/sys/kern/uipc_mbuf.c
index 77a0af1..a0ed0ed 100644
--- a/sys/kern/uipc_mbuf.c
+++ b/sys/kern/uipc_mbuf.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)uipc_mbuf.c 8.2 (Berkeley) 1/4/94
- * $Id: uipc_mbuf.c,v 1.10 1995/07/29 11:40:16 bde Exp $
+ * $Id: uipc_mbuf.c,v 1.11 1995/08/28 09:18:52 julian Exp $
*/
#include <sys/param.h>
@@ -52,7 +52,7 @@
* System initialization
*/
-static void mbinit __P((caddr_t));
+static void mbinit __P((void *));
SYSINIT(mbuf, SI_SUB_MBUF, SI_ORDER_FIRST, mbinit, NULL)
@@ -67,8 +67,8 @@ int max_datalen;
/* ARGSUSED*/
static void
-mbinit( udata)
-caddr_t udata; /* not used*/
+mbinit(udata)
+ void *udata; /* not used*/
{
int s;
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
index 0ffe00c..c4f0cea 100644
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -18,7 +18,7 @@
* 5. Modifications may be freely made to this file if the above conditions
* are met.
*
- * $Id: vfs_bio.c,v 1.61 1995/09/03 19:56:14 dyson Exp $
+ * $Id: vfs_bio.c,v 1.62 1995/09/04 00:20:13 dyson Exp $
*/
/*
@@ -63,7 +63,7 @@ static struct kproc_desc up_kp = {
vfs_update,
&updateproc
};
-SYSINIT_KT(update, SI_SUB_KTHREAD_UPDATE, SI_ORDER_FIRST, kproc_start, (caddr_t)&up_kp)
+SYSINIT_KT(update, SI_SUB_KTHREAD_UPDATE, SI_ORDER_FIRST, kproc_start, &up_kp)
struct buf *buf; /* buffer header pool */
diff --git a/sys/kern/vfs_conf.c b/sys/kern/vfs_conf.c
index 6a7bb20..b5718f6 100644
--- a/sys/kern/vfs_conf.c
+++ b/sys/kern/vfs_conf.c
@@ -32,7 +32,7 @@
* SUCH DAMAGE.
*
* @(#)vfs_conf.c 8.8 (Berkeley) 3/31/94
- * $Id: vfs_conf.c,v 1.7 1995/08/28 09:18:54 julian Exp $
+ * $Id: vfs_conf.c,v 1.8 1995/08/30 00:17:18 bde Exp $
*/
/*
@@ -61,7 +61,7 @@
/*
* GLOBALS
*/
-int (*mountroot) __P((caddr_t));
+int (*mountroot) __P((void *));
struct vnode *rootvnode;
struct vfsops *mountrootvfsops;
@@ -97,8 +97,8 @@ struct vfsops *mountrootvfsops;
* fixing the other file systems, not this code!
*/
int
-vfs_mountroot( data)
-caddr_t data; /* file system function table*/
+vfs_mountroot(data)
+ void *data; /* file system function table*/
{
struct mount *mp;
u_int size;
diff --git a/sys/kern/vfs_init.c b/sys/kern/vfs_init.c
index d772c8d..4cecaf1 100644
--- a/sys/kern/vfs_init.c
+++ b/sys/kern/vfs_init.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)vfs_init.c 8.3 (Berkeley) 1/4/94
- * $Id: vfs_init.c,v 1.10 1995/05/30 08:06:32 rgrimes Exp $
+ * $Id: vfs_init.c,v 1.11 1995/08/28 09:18:55 julian Exp $
*/
@@ -60,7 +60,7 @@
* System initialization
*/
-static void vfsinit __P((caddr_t));
+static void vfsinit __P((void *));
SYSINIT(vfs, SI_SUB_VFS, SI_ORDER_FIRST, vfsinit, NULL)
/*
@@ -239,8 +239,8 @@ struct vattr va_null;
*/
/* ARGSUSED*/
static void
-vfsinit( udata)
-caddr_t udata; /* not used*/
+vfsinit(udata)
+ void *udata; /* not used*/
{
struct vfsops **vfsp;
struct vfsconf **vfc;
diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c
index 6a7bb20..b5718f6 100644
--- a/sys/kern/vfs_mount.c
+++ b/sys/kern/vfs_mount.c
@@ -32,7 +32,7 @@
* SUCH DAMAGE.
*
* @(#)vfs_conf.c 8.8 (Berkeley) 3/31/94
- * $Id: vfs_conf.c,v 1.7 1995/08/28 09:18:54 julian Exp $
+ * $Id: vfs_conf.c,v 1.8 1995/08/30 00:17:18 bde Exp $
*/
/*
@@ -61,7 +61,7 @@
/*
* GLOBALS
*/
-int (*mountroot) __P((caddr_t));
+int (*mountroot) __P((void *));
struct vnode *rootvnode;
struct vfsops *mountrootvfsops;
@@ -97,8 +97,8 @@ struct vfsops *mountrootvfsops;
* fixing the other file systems, not this code!
*/
int
-vfs_mountroot( data)
-caddr_t data; /* file system function table*/
+vfs_mountroot(data)
+ void *data; /* file system function table*/
{
struct mount *mp;
u_int size;
OpenPOWER on IntegriCloud