summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-06-08 10:23:58 -0400
committerDonald Sharp <sharpd@nvidia.com>2022-06-08 11:38:22 -0400
commit0b96b8288adf1eb1452c91b7c41eef55d42cacef (patch)
tree810a403132b0983c9c919d96c4fa748f5a7a7d9b
parentd1c276681fbe7200cf43f03dd4638b2fc872b04d (diff)
lib: Cleanup workqueue.h to have variable declarations
Cleanup workqueue.h to have variable declarations as per our standard. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
-rw-r--r--lib/workqueue.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/workqueue.h b/lib/workqueue.h
index 39202dcda7..27fb1383eb 100644
--- a/lib/workqueue.h
+++ b/lib/workqueue.h
@@ -157,7 +157,8 @@ 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 *, const char *);
+extern struct work_queue *work_queue_new(struct thread_master *m,
+ const char *queue_name);
/* destroy work queue */
/*
@@ -174,10 +175,10 @@ extern void work_queue_plug(struct work_queue *wq);
/* unplug the queue, allow it to be drained again */
extern void work_queue_unplug(struct work_queue *wq);
-bool work_queue_is_scheduled(struct work_queue *);
+bool work_queue_is_scheduled(struct work_queue *wq);
/* Helpers, exported for thread.c and command.c */
-extern void work_queue_run(struct thread *);
+extern void work_queue_run(struct thread *thread);
extern void workqueue_cmd_init(void);