Make mfs_print() return a void to prevent a warning from GCC.
This commit is contained in:
parent
883ee6ae2f
commit
ece0d82f04
|
@ -31,7 +31,7 @@
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* from: @(#)mfs_vnops.c 7.22 (Berkeley) 4/16/91
|
* from: @(#)mfs_vnops.c 7.22 (Berkeley) 4/16/91
|
||||||
* $Id: mfs_vnops.c,v 1.2 1993/05/20 03:53:27 cgd Exp $
|
* $Id: mfs_vnops.c,v 1.3 1993/08/24 14:54:14 mycroft Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "param.h"
|
#include "param.h"
|
||||||
|
@ -245,6 +245,7 @@ mfs_inactive(vp, p)
|
||||||
/*
|
/*
|
||||||
* Print out the contents of an mfsnode.
|
* Print out the contents of an mfsnode.
|
||||||
*/
|
*/
|
||||||
|
void
|
||||||
mfs_print(vp)
|
mfs_print(vp)
|
||||||
struct vnode *vp;
|
struct vnode *vp;
|
||||||
{
|
{
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* from: @(#)mfsnode.h 7.3 (Berkeley) 4/16/91
|
* from: @(#)mfsnode.h 7.3 (Berkeley) 4/16/91
|
||||||
* $Id: mfsnode.h,v 1.3 1993/05/20 03:53:29 cgd Exp $
|
* $Id: mfsnode.h,v 1.4 1993/08/24 14:54:16 mycroft Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _UFS_MFSNODE_H_
|
#ifndef _UFS_MFSNODE_H_
|
||||||
|
@ -188,7 +188,7 @@ int mfs_bmap __P((
|
||||||
daddr_t *bnp));
|
daddr_t *bnp));
|
||||||
int mfs_strategy __P((
|
int mfs_strategy __P((
|
||||||
struct buf *bp));
|
struct buf *bp));
|
||||||
int mfs_print __P((
|
void mfs_print __P((
|
||||||
struct vnode *vp));
|
struct vnode *vp));
|
||||||
#define mfs_islocked ((int (*) __P(( \
|
#define mfs_islocked ((int (*) __P(( \
|
||||||
struct vnode *vp))) nullop)
|
struct vnode *vp))) nullop)
|
||||||
|
|
Loading…
Reference in New Issue