diff options
author | Andrea Shepard <andrea@torproject.org> | 2014-01-23 20:55:13 -0800 |
---|---|---|
committer | Andrea Shepard <andrea@torproject.org> | 2014-09-30 23:14:25 -0700 |
commit | 9869254608587dbd0d33bcba0233967f6bf3c326 (patch) | |
tree | 76000a680118f95d9dbfbad13f7f15928f6ea722 /src/or/scheduler.c | |
parent | 5a07fb96f2a4072bd9ee31a887ac0c790fdaf6c4 (diff) | |
download | tor-9869254608587dbd0d33bcba0233967f6bf3c326.tar.gz tor-9869254608587dbd0d33bcba0233967f6bf3c326.zip |
Make scheduler.c static globals visible to test suite
Diffstat (limited to 'src/or/scheduler.c')
-rw-r--r-- | src/or/scheduler.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/or/scheduler.c b/src/or/scheduler.c index 367480cb31..71da4a4435 100644 --- a/src/or/scheduler.c +++ b/src/or/scheduler.c @@ -109,27 +109,27 @@ */ /* Pqueue of channels that can write and have cells (pending work) */ -static smartlist_t *channels_pending = NULL; +STATIC smartlist_t *channels_pending = NULL; /* * This event runs the scheduler from its callback, and is manually * activated whenever a channel enters open for writes/cells to send. */ -static struct event *run_sched_ev = NULL; +STATIC struct event *run_sched_ev = NULL; /* * Queue heuristic; this is not the queue size, but an 'effective queuesize' * that ages out contributions from stalled channels. */ -static uint64_t queue_heuristic = 0; +STATIC uint64_t queue_heuristic = 0; /* * Timestamp for last queue heuristic update */ -static time_t queue_heuristic_timestamp = 0; +STATIC time_t queue_heuristic_timestamp = 0; /* Scheduler static function declarations */ |