From 9470f039055ea10d2a29162d0bac0c40f13dfe72 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Thu, 7 Dec 1995 20:31:02 +0000 Subject: The static prototype for setroot() was apparently accidently moved into a block of code that was #ifdef CD9660, meaning you got a compile failure if you didn't have the CD9660 filesystem configured. --- sys/amd64/amd64/autoconf.c | 5 +++-- sys/i386/i386/autoconf.c | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/sys/amd64/amd64/autoconf.c b/sys/amd64/amd64/autoconf.c index 7a34f82b714c..f9d3a298a89d 100644 --- a/sys/amd64/amd64/autoconf.c +++ b/sys/amd64/amd64/autoconf.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)autoconf.c 7.1 (Berkeley) 5/9/91 - * $Id: autoconf.c,v 1.44 1995/12/03 17:51:36 bde Exp $ + * $Id: autoconf.c,v 1.45 1995/12/06 09:04:44 peter Exp $ */ /* @@ -88,6 +88,8 @@ static void configure __P((void *)); SYSINIT(configure, SI_SUB_CONFIGURE, SI_ORDER_FIRST, configure, NULL) +static void setroot __P((void)); + #ifdef MFS_ROOT extern struct vfsops mfs_vfsops; #endif @@ -123,7 +125,6 @@ static struct { static void configure_finish __P((void)); static void configure_start __P((void)); static int find_cdrom_root __P((void *)); -static void setroot __P((void)); static int find_cdrom_root(dummy) diff --git a/sys/i386/i386/autoconf.c b/sys/i386/i386/autoconf.c index 7a34f82b714c..f9d3a298a89d 100644 --- a/sys/i386/i386/autoconf.c +++ b/sys/i386/i386/autoconf.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)autoconf.c 7.1 (Berkeley) 5/9/91 - * $Id: autoconf.c,v 1.44 1995/12/03 17:51:36 bde Exp $ + * $Id: autoconf.c,v 1.45 1995/12/06 09:04:44 peter Exp $ */ /* @@ -88,6 +88,8 @@ static void configure __P((void *)); SYSINIT(configure, SI_SUB_CONFIGURE, SI_ORDER_FIRST, configure, NULL) +static void setroot __P((void)); + #ifdef MFS_ROOT extern struct vfsops mfs_vfsops; #endif @@ -123,7 +125,6 @@ static struct { static void configure_finish __P((void)); static void configure_start __P((void)); static int find_cdrom_root __P((void *)); -static void setroot __P((void)); static int find_cdrom_root(dummy) -- cgit v1.3