aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@gmail.com>2011-04-16 14:48:46 +0200
committerGeorge Kadianakis <desnacked@gmail.com>2011-04-16 14:48:46 +0200
commitc2d9d80a072ab586ba97159f1d401b9ed2980b2d (patch)
tree0eb44c20d319d6f5f57aedc62267bc21852d979d /src/or/main.c
parent1db6eb6cb7db46d8dde482f629fbc1c578310d52 (diff)
downloadtor-c2d9d80a072ab586ba97159f1d401b9ed2980b2d.tar.gz
tor-c2d9d80a072ab586ba97159f1d401b9ed2980b2d.zip
Reuse get_bytes_{read,written}() in status.c
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 9c19485990..6da07bafff 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -1923,15 +1923,6 @@ get_uptime(void)
return stats_n_seconds_working;
}
-/** Fills <b>n_read_in</b> with total bytes read and <b>n_written_out</b>
- with total bytes written */
-void
-get_traffic_stats(uint64_t *n_read_in, uint64_t *n_written_out)
-{
- *n_read_in = stats_n_bytes_read;
- *n_written_out = stats_n_bytes_written;
-}
-
extern uint64_t rephist_total_alloc;
extern uint32_t rephist_total_num;