summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-08-30 01:34:28 +0000
committerbde <bde@FreeBSD.org>1995-08-30 01:34:28 +0000
commitcea39e287b60480a69cfcbb445d0981e110fd727 (patch)
tree7b70826a34b3a18c9b6bc04573ce179faad4fcfb /sys
parent0eedc04af215b9f59418a3ad9bd18048a5b0c5f9 (diff)
downloadFreeBSD-src-cea39e287b60480a69cfcbb445d0981e110fd727.zip
FreeBSD-src-cea39e287b60480a69cfcbb445d0981e110fd727.tar.gz
Declare vfs_mountroot() in the right place.
Diffstat (limited to 'sys')
-rw-r--r--sys/amd64/amd64/autoconf.c3
-rw-r--r--sys/i386/i386/autoconf.c3
-rw-r--r--sys/sys/mount.h3
-rw-r--r--sys/ufs/mfs/mfs_vfsops.c4
4 files changed, 5 insertions, 8 deletions
diff --git a/sys/amd64/amd64/autoconf.c b/sys/amd64/amd64/autoconf.c
index 36e43db..fbeeee7 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.34 1995/07/16 10:45:04 phk Exp $
+ * $Id: autoconf.c,v 1.35 1995/08/28 09:17:44 julian Exp $
*/
/*
@@ -67,7 +67,6 @@ static void setroot(void);
*/
int dkn; /* number of iostat dk numbers assigned so far */
-int vfs_mountroot __P((caddr_t)); /* XXX goes away*/
#ifdef FFS
extern struct vfsops ufs_vfsops;
#endif
diff --git a/sys/i386/i386/autoconf.c b/sys/i386/i386/autoconf.c
index 36e43db..fbeeee7 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.34 1995/07/16 10:45:04 phk Exp $
+ * $Id: autoconf.c,v 1.35 1995/08/28 09:17:44 julian Exp $
*/
/*
@@ -67,7 +67,6 @@ static void setroot(void);
*/
int dkn; /* number of iostat dk numbers assigned so far */
-int vfs_mountroot __P((caddr_t)); /* XXX goes away*/
#ifdef FFS
extern struct vfsops ufs_vfsops;
#endif
diff --git a/sys/sys/mount.h b/sys/sys/mount.h
index fc14024..2626905 100644
--- a/sys/sys/mount.h
+++ b/sys/sys/mount.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)mount.h 8.13 (Berkeley) 3/27/94
- * $Id: mount.h,v 1.24 1995/08/26 05:40:52 davidg Exp $
+ * $Id: mount.h,v 1.25 1995/08/28 09:19:05 julian Exp $
*/
#ifndef _SYS_MOUNT_H_
@@ -483,6 +483,7 @@ struct netcred *vfs_export_lookup /* lookup host in fs export list */
__P((struct mount *, struct netexport *, struct mbuf *));
int vfs_lock __P((struct mount *)); /* lock a vfs */
int vfs_mountedon __P((struct vnode *)); /* is a vfs mounted on vp */
+int vfs_mountroot __P((caddr_t)); /* XXX goes away? */
void vfs_msync __P((struct mount *, int));
void vfs_unlock __P((struct mount *)); /* unlock a vfs */
void vfs_unmountall __P((void));
diff --git a/sys/ufs/mfs/mfs_vfsops.c b/sys/ufs/mfs/mfs_vfsops.c
index 3213cea..b6316b6 100644
--- a/sys/ufs/mfs/mfs_vfsops.c
+++ b/sys/ufs/mfs/mfs_vfsops.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)mfs_vfsops.c 8.4 (Berkeley) 4/16/94
- * $Id: mfs_vfsops.c,v 1.11 1995/08/20 10:26:00 davidg Exp $
+ * $Id: mfs_vfsops.c,v 1.12 1995/08/28 09:19:14 julian Exp $
*/
#include <sys/param.h>
@@ -88,8 +88,6 @@ struct vfsops mfs_vfsops = {
VFS_SET(mfs_vfsops, mfs, MOUNT_MFS, 0);
-int vfs_mountroot __P((caddr_t)); /* XXX goes away*/
-
/*
* This is called early in boot to set the base address and size
* of the mini-root.
OpenPOWER on IntegriCloud