summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorbms <bms@FreeBSD.org>2004-10-26 17:14:45 +0000
committerbms <bms@FreeBSD.org>2004-10-26 17:14:45 +0000
commit70d8e4e3fedc8eedfc17a88845ab75eb6e16c2d8 (patch)
tree8e495afda56f4e57e828c95429343539d8a189eb /share
parent313e249d9e6007e032370ffde1977447cdd64ee1 (diff)
downloadFreeBSD-src-70d8e4e3fedc8eedfc17a88845ab75eb6e16c2d8.zip
FreeBSD-src-70d8e4e3fedc8eedfc17a88845ab75eb6e16c2d8.tar.gz
Correct a misspelling, 'task_fn' -> 'task_fn_t'.
Noticed by: sah at softcardsystems dot com MFC after: 3 days
Diffstat (limited to 'share')
-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 f15beca..add0a65 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
OpenPOWER on IntegriCloud