aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-04-19 12:08:28 -0400
committerNick Mathewson <nickm@torproject.org>2011-04-19 12:08:28 -0400
commit750b5119c056587c599c8acafcbdeb43341d1d61 (patch)
treee97a9a75ec3f2c2c53a0384e52ebef858ef62555 /src/or/main.c
parentc4bf7f59d83487e72f564bb50327fdeeda796f3d (diff)
parentc2d9d80a072ab586ba97159f1d401b9ed2980b2d (diff)
downloadtor-750b5119c056587c599c8acafcbdeb43341d1d61.tar.gz
tor-750b5119c056587c599c8acafcbdeb43341d1d61.zip
Merge remote-tracking branch 'asn/heartbeat'
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 a9d1c9150e..b86eeb407f 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -1925,15 +1925,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;