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:
parent
b0dfc986d0
commit
6e69b44b9d
@ -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 .
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user