diff options
author | Andrea Shepard <andrea@torproject.org> | 2014-01-24 03:12:28 -0800 |
---|---|---|
committer | Andrea Shepard <andrea@torproject.org> | 2014-09-30 23:14:58 -0700 |
commit | b7125961de3e7d2687cc52d63d000ad6b6320d63 (patch) | |
tree | ceedd06f6d2b9d1dbc404a4a1db7ac82941b62e7 /src/or/scheduler.h | |
parent | c5f73e52e54a60581374ff6355104aea3e0f6233 (diff) | |
download | tor-b7125961de3e7d2687cc52d63d000ad6b6320d63.tar.gz tor-b7125961de3e7d2687cc52d63d000ad6b6320d63.zip |
Expose scheduler_compare_channels() to test suite
Diffstat (limited to 'src/or/scheduler.h')
-rw-r--r-- | src/or/scheduler.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/scheduler.h b/src/or/scheduler.h index 3c0d86dabb..b99491b221 100644 --- a/src/or/scheduler.h +++ b/src/or/scheduler.h @@ -37,6 +37,7 @@ void scheduler_touch_channel(channel_t *chan); /* Things only scheduler.c and its test suite should see */ #ifdef SCHEDULER_PRIVATE_ +STATIC int scheduler_compare_channels(const void *c1_v, const void *c2_v); STATIC uint64_t scheduler_get_queue_heuristic(void); STATIC void scheduler_update_queue_heuristic(time_t now); #endif |