From 8da7fc5e083e2aa75b8e75993b460830d719adea Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Wed, 6 Nov 1996 01:31:03 +0000 Subject: fix mountroot decl --- sys/arch/i386/i386/swapgeneric.c | 5 ++--- sys/arch/sparc/sparc/swapgeneric.c | 3 ++- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/arch') diff --git a/sys/arch/i386/i386/swapgeneric.c b/sys/arch/i386/i386/swapgeneric.c index de32a464be6..24411663850 100644 --- a/sys/arch/i386/i386/swapgeneric.c +++ b/sys/arch/i386/i386/swapgeneric.c @@ -1,4 +1,4 @@ -/* $OpenBSD: swapgeneric.c,v 1.6 1996/06/01 11:54:32 deraadt Exp $ */ +/* $OpenBSD: swapgeneric.c,v 1.7 1996/11/06 01:30:04 deraadt Exp $ */ /* $NetBSD: swapgeneric.c,v 1.12 1996/05/03 19:42:28 christos Exp $ */ /*- @@ -68,5 +68,4 @@ struct swdevt swdevt[] = { { NODEV, 0, 0 }, }; -int (*mountroot) __P((void *)) = NULL; - +int (*mountroot) __P((void)) = NULL; diff --git a/sys/arch/sparc/sparc/swapgeneric.c b/sys/arch/sparc/sparc/swapgeneric.c index 493b04bc198..53931de7355 100644 --- a/sys/arch/sparc/sparc/swapgeneric.c +++ b/sys/arch/sparc/sparc/swapgeneric.c @@ -41,8 +41,9 @@ #include #include +#include -int (*mountroot) __P((void *)) = NULL; /* tells autoconf.c that we are "generic" */ +int (*mountroot) __P((void)) = NULL; /* tells autoconf.c that we are "generic" */ dev_t rootdev = NODEV; dev_t dumpdev = NODEV; -- cgit v1.2.3