Remove struct callout_handle. Should have gone with r355732.
This commit is contained in:
parent
c57b57da35
commit
a7f12fce22
@ -282,6 +282,7 @@ OLD_DIRS+=usr/lib/clang/9.0.0
|
||||
# 20191214: Removal of sranddev(3)
|
||||
OLD_FILES+=usr/share/man/man3/sranddev.3.gz
|
||||
# 20191213: remove timeout(9)
|
||||
OLD_FILES+=usr/share/man/man9/callout_handle_init.9.gz
|
||||
OLD_FILES+=usr/share/man/man9/timeout.9.gz
|
||||
OLD_FILES+=usr/share/man/man9/untimeout.9.gz
|
||||
# 20191128: Removal of trm(4)
|
||||
|
@ -770,7 +770,6 @@ MLINKS+=callout.9 callout_active.9 \
|
||||
callout.9 callout_async_drain.9 \
|
||||
callout.9 callout_deactivate.9 \
|
||||
callout.9 callout_drain.9 \
|
||||
callout.9 callout_handle_init.9 \
|
||||
callout.9 callout_init.9 \
|
||||
callout.9 callout_init_mtx.9 \
|
||||
callout.9 callout_init_rm.9 \
|
||||
|
@ -37,7 +37,6 @@
|
||||
.Nm callout_deactivate ,
|
||||
.Nm callout_async_drain ,
|
||||
.Nm callout_drain ,
|
||||
.Nm callout_handle_init ,
|
||||
.Nm callout_init ,
|
||||
.Nm callout_init_mtx ,
|
||||
.Nm callout_init_rm ,
|
||||
@ -73,11 +72,6 @@ typedef void callout_func_t (void *);
|
||||
.Ft int
|
||||
.Fn callout_drain "struct callout *c"
|
||||
.Ft void
|
||||
.Fn callout_handle_init "struct callout_handle *handle"
|
||||
.Bd -literal
|
||||
struct callout_handle handle = CALLOUT_HANDLE_INITIALIZER(&handle);
|
||||
.Ed
|
||||
.Ft void
|
||||
.Fn callout_init "struct callout *c" "int mpsafe"
|
||||
.Ft void
|
||||
.Fn callout_init_mtx "struct callout *c" "struct mtx *mtx" "int flags"
|
||||
|
@ -62,10 +62,6 @@
|
||||
#define C_PRECALC 0x0400 /* event time is pre-calculated. */
|
||||
#define C_CATCH 0x0800 /* catch signals, used by pause_sbt(9) */
|
||||
|
||||
struct callout_handle {
|
||||
struct callout *callout;
|
||||
};
|
||||
|
||||
/* Flags for callout_stop_safe() */
|
||||
#define CS_DRAIN 0x0001 /* callout_drain(), wait allowed */
|
||||
#define CS_EXECUTING 0x0002 /* Positive return value indicates that
|
||||
|
Loading…
x
Reference in New Issue
Block a user