summaryrefslogtreecommitdiff
path: root/src/or/scheduler.h
diff options
context:
space:
mode:
authorAndrea Shepard <andrea@torproject.org>2013-12-18 15:31:54 -0800
committerAndrea Shepard <andrea@torproject.org>2014-09-30 22:54:10 -0700
commitfd57840a778f591fa175a1933c0b619741010bd1 (patch)
tree09b68cc34bf14c07577ff78afcbe2070c942c0cf /src/or/scheduler.h
parente00fde17975810d7cc420fb185dd84591f89b7a5 (diff)
downloadtor-fd57840a778f591fa175a1933c0b619741010bd1.tar.gz
tor-fd57840a778f591fa175a1933c0b619741010bd1.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 9cdf6c1c4d..0752ae0760 100644
--- a/src/or/scheduler.h
+++ b/src/or/scheduler.h
@@ -21,7 +21,7 @@ void scheduler_init(void);
void scheduler_run(void);
/* Mark channels as having cells or wanting/not wanting writes */
-void scheduler_channel_doesnt_want_writes(channel_t *chan);
+MOCK_DECL(void,scheduler_channel_doesnt_want_writes,(channel_t *chan));
void scheduler_channel_has_waiting_cells(channel_t *chan);
void scheduler_channel_wants_writes(channel_t *chan);