Make mfs_print() return a void to prevent a warning from GCC.

This commit is contained in:
mycroft 1993-08-24 14:54:14 +00:00
parent 883ee6ae2f
commit ece0d82f04
2 changed files with 4 additions and 3 deletions

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* 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"
@ -245,6 +245,7 @@ mfs_inactive(vp, p)
/*
* Print out the contents of an mfsnode.
*/
void
mfs_print(vp)
struct vnode *vp;
{

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* 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_
@ -188,7 +188,7 @@ int mfs_bmap __P((
daddr_t *bnp));
int mfs_strategy __P((
struct buf *bp));
int mfs_print __P((
void mfs_print __P((
struct vnode *vp));
#define mfs_islocked ((int (*) __P(( \
struct vnode *vp))) nullop)