Removed unused include of <sys/buf.h> from synopsis. This include is

needed to access the internals of buffers but not necessarily to use
the VOP.  <sys/buf.h> recently grew a bogus dependency on <sys/systm.h>
for the declaration of spl*, and I prefer to fix the synopsis breakage
by removing a wart instead of adding one.
This commit is contained in:
bde 1999-12-23 17:35:48 +00:00
parent b0dfc986d0
commit 6e69b44b9d
2 changed files with 0 additions and 3 deletions

View File

@ -37,7 +37,6 @@
.Sh SYNOPSIS
.Fd #include <sys/param.h>
.Fd #include <sys/vnode.h>
.Fd #include <sys/buf.h>
.Ft int
.Fn VOP_REALLOCBLKS "struct vnode *vp" "struct cluster_save *buflist"
.Sh DESCRIPTION
@ -59,4 +58,3 @@ Zero is returned on success, otherwise an error is returned.
.Sh AUTHORS
This man page was written by
.An Doug Rabson .

View File

@ -37,7 +37,6 @@
.Sh SYNOPSIS
.Fd #include <sys/param.h>
.Fd #include <sys/vnode.h>
.Fd #include <sys/buf.h>
.Ft int
.Fn VOP_STRATEGY "struct vnode *vp" "struct buf *bp"
.Sh DESCRIPTION