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.c | |
parent | c5f73e52e54a60581374ff6355104aea3e0f6233 (diff) | |
download | tor-b7125961de3e7d2687cc52d63d000ad6b6320d63.tar.gz tor-b7125961de3e7d2687cc52d63d000ad6b6320d63.zip |
Expose scheduler_compare_channels() to test suite
Diffstat (limited to 'src/or/scheduler.c')
-rw-r--r-- | src/or/scheduler.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/scheduler.c b/src/or/scheduler.c index 1b4ae04182..544ec83258 100644 --- a/src/or/scheduler.c +++ b/src/or/scheduler.c @@ -134,7 +134,6 @@ STATIC time_t queue_heuristic_timestamp = 0; /* Scheduler static function declarations */ -static int scheduler_compare_channels(const void *c1_v, const void *c2_v); static void scheduler_evt_callback(evutil_socket_t fd, short events, void *arg); static int scheduler_more_work(void); @@ -168,7 +167,7 @@ scheduler_free_all(void) * Comparison function to use when sorting pending channels */ -static int +STATIC int scheduler_compare_channels(const void *c1_v, const void *c2_v) { channel_t *c1 = NULL, *c2 = NULL; |