aboutsummaryrefslogtreecommitdiff
path: root/share/man/man9/taskqueue.9
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man9/taskqueue.9')
-rw-r--r--share/man/man9/taskqueue.94
1 files changed, 2 insertions, 2 deletions
diff --git a/share/man/man9/taskqueue.9 b/share/man/man9/taskqueue.9
index f15beca4fdf40..add0a65135ef6 100644
--- a/share/man/man9/taskqueue.9
+++ b/share/man/man9/taskqueue.9
@@ -41,7 +41,7 @@
.In sys/queue.h
.In sys/taskqueue.h
.Bd -literal
-typedef void (*task_fn)(void *context, int pending);
+typedef void (*task_fn_t)(void *context, int pending);
typedef void (*taskqueue_enqueue_fn)(void *context);
@@ -49,7 +49,7 @@ struct task {
STAILQ_ENTRY(task) ta_link; /* link for queue */
int ta_pending; /* count times queued */
int ta_priority; /* priority of task in queue */
- task_fn ta_func; /* task handler */
+ task_fn_t ta_func; /* task handler */
void *ta_context; /* argument for handler */
};
.Ed