diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-09-28 00:33:10 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-01-14 11:17:46 -0500 |
commit | e5f8c772f4c468a20da8b9176c2b276ac76bbe78 (patch) | |
tree | 22b763ad1eaf3903ce95b5b061cdac5bcac6047d /src/common/workqueue.h | |
parent | ebbc177005eaf9bd949daba657b2c703a7bd1769 (diff) | |
download | tor-e5f8c772f4c468a20da8b9176c2b276ac76bbe78.tar.gz tor-e5f8c772f4c468a20da8b9176c2b276ac76bbe78.zip |
Test and fix workqueue_entry_cancel().
Diffstat (limited to 'src/common/workqueue.h')
-rw-r--r-- | src/common/workqueue.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/workqueue.h b/src/common/workqueue.h index 5a6cd80fb0..ec1f7c9000 100644 --- a/src/common/workqueue.h +++ b/src/common/workqueue.h @@ -32,7 +32,7 @@ int threadpool_queue_for_all(threadpool_t *pool, int (*fn)(void *, void *), void (*reply_fn)(void *), void *arg); -int workqueue_entry_cancel(workqueue_entry_t *pending_work); +void *workqueue_entry_cancel(workqueue_entry_t *pending_work); threadpool_t *threadpool_new(int n_threads, replyqueue_t *replyqueue, void *(*new_thread_state_fn)(void*), |