aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_consdiffmgr.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-07-27 16:29:34 -0400
committerNick Mathewson <nickm@torproject.org>2017-07-27 16:29:34 -0400
commitba334c00da539a78fdfca696d4b53224e9354a6a (patch)
tree606a1183e4a256a2416ef9a5691c305e38048911 /src/test/test_consdiffmgr.c
parentced2dd5f92c910fb827bac2e70edfc6e5922b21a (diff)
parentfdd8156ea3da9548b99ab95d72e3193ae9de3feb (diff)
downloadtor-ba334c00da539a78fdfca696d4b53224e9354a6a.tar.gz
tor-ba334c00da539a78fdfca696d4b53224e9354a6a.zip
Merge branch 'multi-priority_squashed' into maint-0.3.1
Diffstat (limited to 'src/test/test_consdiffmgr.c')
-rw-r--r--src/test/test_consdiffmgr.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/test/test_consdiffmgr.c b/src/test/test_consdiffmgr.c
index 746d17a038..963a6e427a 100644
--- a/src/test/test_consdiffmgr.c
+++ b/src/test/test_consdiffmgr.c
@@ -98,10 +98,13 @@ typedef struct fake_work_queue_ent_t {
void *arg;
} fake_work_queue_ent_t;
static struct workqueue_entry_s *
-mock_cpuworker_queue_work(enum workqueue_reply_t (*fn)(void *, void *),
+mock_cpuworker_queue_work(workqueue_priority_t prio,
+ enum workqueue_reply_t (*fn)(void *, void *),
void (*reply_fn)(void *),
void *arg)
{
+ (void) prio;
+
if (! fake_cpuworker_queue)
fake_cpuworker_queue = smartlist_new();