Declare vfs_mountroot() in the right place.

This commit is contained in:
Bruce Evans 1995-08-30 01:34:28 +00:00
parent 44fc47d706
commit 8d7459c596
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=10431
4 changed files with 5 additions and 8 deletions

View File

@ -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

View File

@ -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

View File

@ -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));

View File

@ -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.