summaryrefslogtreecommitdiffstats
path: root/lib/workqueue.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/workqueue.h')
-rw-r--r--lib/workqueue.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/workqueue.h b/lib/workqueue.h
index f3c8fc813..ca29ae3d1 100644
--- a/lib/workqueue.h
+++ b/lib/workqueue.h
@@ -47,7 +47,7 @@ struct work_queue {
/* Everything but the specification struct is private
* the following may be read
*/
- struct thread_master *master; /* thread master */
+ struct event_master *master; /* thread master */
struct event *thread; /* thread, if one is active */
char *name; /* work queue name */
@@ -137,7 +137,7 @@ static inline void work_queue_item_dequeue(struct work_queue *wq,
* user must fill in the spec of the returned work queue before adding
* anything to it
*/
-extern struct work_queue *work_queue_new(struct thread_master *m,
+extern struct work_queue *work_queue_new(struct event_master *m,
const char *queue_name);
/* destroy work queue */