summaryrefslogtreecommitdiff
path: root/sys/kern/init_main.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-03-14 01:27:20 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-03-14 01:27:20 +0000
commit8327d0774703553db5e1a41a04bfdf4b1797c2ce (patch)
treeac9a52bace179e17769651fb9f805070d78abe5f /sys/kern/init_main.c
parent7b2c79b5895287d37f0c4e3adfc396eb7a6c03fb (diff)
First round of __P removal in sys
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r--sys/kern/init_main.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index d1cd0f7c354..ed9437a6907 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: init_main.c,v 1.92 2002/01/30 20:29:44 nordin Exp $ */
+/* $OpenBSD: init_main.c,v 1.93 2002/03/14 01:27:04 millert Exp $ */
/* $NetBSD: init_main.c,v 1.84.4.1 1996/06/02 09:08:06 mrg Exp $ */
/*
@@ -95,7 +95,7 @@
#endif
#if defined(NFSSERVER) || defined(NFSCLIENT)
-extern void nfs_init __P((void));
+extern void nfs_init(void);
#endif
char copyright[] =
@@ -120,20 +120,20 @@ struct proc *initproc;
int cmask = CMASK;
extern struct user *proc0paddr;
-void (*md_diskconf) __P((void)) = NULL;
+void (*md_diskconf)(void) = NULL;
struct vnode *rootvp, *swapdev_vp;
int boothowto;
struct timeval boottime;
struct timeval runtime;
/* XXX return int so gcc -Werror won't complain */
-int main __P((void *));
-void check_console __P((struct proc *));
-void start_init __P((void *));
-void start_cleaner __P((void *));
-void start_update __P((void *));
-void start_reaper __P((void *));
-void start_crypto __P((void *));
+int main(void *);
+void check_console(struct proc *);
+void start_init(void *);
+void start_cleaner(void *);
+void start_update(void *);
+void start_reaper(void *);
+void start_crypto(void *);
extern char sigcode[], esigcode[];
#ifdef SYSCALL_DEBUG
@@ -178,10 +178,10 @@ main(framep)
int s;
register_t rval[2];
extern struct pdevinit pdevinit[];
- extern void scheduler_start __P((void));
- extern void disk_init __P((void));
- extern void endtsleep __P((void *));
- extern void realitexpire __P((void *));
+ extern void scheduler_start(void);
+ extern void disk_init(void);
+ extern void endtsleep(void *);
+ extern void realitexpire(void *);
/*
* Initialize the current process pointer (curproc) before