Correct types for g_example_start() and g_example_access().
PR: 203498 Submitted by: chadf@triularity.org, ae MFC after: 1 week Sponsored by: Essen Hackathon 2016
This commit is contained in:
parent
3548708c47
commit
f6c64174fe
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=298532
@ -24,7 +24,7 @@
|
|||||||
.\"
|
.\"
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd January 16, 2004
|
.Dd April 24, 2016
|
||||||
.Dt G_GEOM 9
|
.Dt G_GEOM 9
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -123,7 +123,7 @@ returns a pointer to the newly created geom.
|
|||||||
.Sh EXAMPLES
|
.Sh EXAMPLES
|
||||||
Create an example geom.
|
Create an example geom.
|
||||||
.Bd -literal -offset indent
|
.Bd -literal -offset indent
|
||||||
static struct geom *
|
static void
|
||||||
g_example_start(struct bio *bp)
|
g_example_start(struct bio *bp)
|
||||||
{
|
{
|
||||||
|
|
||||||
@ -148,7 +148,7 @@ g_example_spoiled(struct g_consumer *cp)
|
|||||||
[...]
|
[...]
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static int
|
||||||
g_example_access(struct g_provider *pp, int dr, int dw, int de)
|
g_example_access(struct g_provider *pp, int dr, int dw, int de)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user