fix return type for fifo_print

This commit is contained in:
cgd 1994-01-05 11:34:44 +00:00
parent 1f827d4b07
commit b4e04dd05d
2 changed files with 5 additions and 4 deletions

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)fifo.h 7.1 (Berkeley) 4/15/91
* $Id: fifo.h,v 1.5 1993/09/07 15:41:53 ws Exp $
* $Id: fifo.h,v 1.6 1994/01/05 11:34:44 cgd Exp $
*/
#ifndef _SYS_FIFO_H_
@ -173,7 +173,7 @@ int fifo_bmap __P((
daddr_t *bnp));
#define fifo_strategy ((int (*) __P(( \
struct buf *bp))) fifo_badop)
void fifo_print __P((
int fifo_print __P((
struct vnode *vp));
void fifo_printinfo __P((
struct vnode *vp));

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)fifo_vnops.c 7.7 (Berkeley) 4/15/91
* $Id: fifo_vnops.c,v 1.6 1993/12/18 03:49:25 mycroft Exp $
* $Id: fifo_vnops.c,v 1.7 1994/01/05 11:34:51 cgd Exp $
*/
#include <sys/param.h>
@ -385,7 +385,7 @@ fifo_close(vp, fflag, cred, p)
/*
* Print out the contents of a fifo vnode.
*/
void
int
fifo_print(vp)
struct vnode *vp;
{
@ -393,6 +393,7 @@ fifo_print(vp)
printf("tag VT_NON");
fifo_printinfo(vp);
printf("\n");
return (0);
}
/*