Fix return type of callout_init_rm() and add return type to

callout_deactivate().

PR:		192520
Submitted by:	yaneurabeya gmail com
MFC after:	3 days
This commit is contained in:
Gavin Atkinson 2014-08-20 23:29:34 +00:00
parent 15f48aaad6
commit 8382d842d5

View File

@ -29,7 +29,7 @@
.\" .\"
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd July 17, 2014 .Dd August 21, 2014
.Dt TIMEOUT 9 .Dt TIMEOUT 9
.Os .Os
.Sh NAME .Sh NAME
@ -74,7 +74,7 @@ struct callout_handle handle = CALLOUT_HANDLE_INITIALIZER(&handle);
.Fn callout_init "struct callout *c" "int mpsafe" .Fn callout_init "struct callout *c" "int mpsafe"
.Ft void .Ft void
.Fn callout_init_mtx "struct callout *c" "struct mtx *mtx" "int flags" .Fn callout_init_mtx "struct callout *c" "struct mtx *mtx" "int flags"
.Fn void .Ft void
.Fn callout_init_rm "struct callout *c" "struct rmlock *rm" "int flags" .Fn callout_init_rm "struct callout *c" "struct rmlock *rm" "int flags"
.Ft void .Ft void
.Fn callout_init_rw "struct callout *c" "struct rwlock *rw" "int flags" .Fn callout_init_rw "struct callout *c" "struct rwlock *rw" "int flags"
@ -103,6 +103,7 @@ struct callout_handle handle = CALLOUT_HANDLE_INITIALIZER(&handle);
.Fn callout_pending "struct callout *c" .Fn callout_pending "struct callout *c"
.Ft int .Ft int
.Fn callout_active "struct callout *c" .Fn callout_active "struct callout *c"
.Ft void
.Fn callout_deactivate "struct callout *c" .Fn callout_deactivate "struct callout *c"
.Sh DESCRIPTION .Sh DESCRIPTION
The function The function