aboutsummaryrefslogtreecommitdiff
path: root/src/or/scheduler.h
diff options
context:
space:
mode:
authorAndrea Shepard <andrea@torproject.org>2014-01-21 02:49:21 -0800
committerAndrea Shepard <andrea@torproject.org>2014-09-30 23:09:14 -0700
commitade60890d013e8af25f432cca97193bdc8659701 (patch)
tree2b30713ca2570720624c91765ef55f5f7d1d14f4 /src/or/scheduler.h
parentbef11b715637ad28f6c8802adf6893e050c05d0a (diff)
downloadtor-ade60890d013e8af25f432cca97193bdc8659701.tar.gz
tor-ade60890d013e8af25f432cca97193bdc8659701.zip
Make scheduler_channel_doesnt_want_writes() mockable
Diffstat (limited to 'src/or/scheduler.h')
-rw-r--r--src/or/scheduler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/scheduler.h b/src/or/scheduler.h
index 0752ae0760..7f59ec45d0 100644
--- a/src/or/scheduler.h
+++ b/src/or/scheduler.h
@@ -22,7 +22,7 @@ void scheduler_run(void);
/* Mark channels as having cells or wanting/not wanting writes */
MOCK_DECL(void,scheduler_channel_doesnt_want_writes,(channel_t *chan));
-void scheduler_channel_has_waiting_cells(channel_t *chan);
+MOCK_DECL(void,scheduler_channel_has_waiting_cells,(channel_t *chan));
void scheduler_channel_wants_writes(channel_t *chan);
/* Notify the scheduler of a channel being closed */