summaryrefslogtreecommitdiff
path: root/src/or/circuituse.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-28 12:24:45 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-28 12:24:45 -0400
commitbdea94a6653240e0e477eda186ceccbe6be00535 (patch)
tree64e57e8684f65fba4b0e953ef2a99d7fdb353a06 /src/or/circuituse.c
parent6178a9f758d60f5fc896644f1b9b0aaf4c32f2a5 (diff)
downloadtor-bdea94a6653240e0e477eda186ceccbe6be00535.tar.gz
tor-bdea94a6653240e0e477eda186ceccbe6be00535.zip
Move floating-point math functions into a new lib/math
Diffstat (limited to 'src/or/circuituse.c')
-rw-r--r--src/or/circuituse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c
index 0ba3f34b40..3669eb7f16 100644
--- a/src/or/circuituse.c
+++ b/src/or/circuituse.c
@@ -56,6 +56,7 @@
#include "or/rephist.h"
#include "or/router.h"
#include "or/routerlist.h"
+#include "lib/math/fp.h"
#include "or/cpath_build_state_st.h"
#include "or/dir_connection_st.h"
@@ -3152,4 +3153,3 @@ circuit_read_valid_data(origin_circuit_t *circ, uint16_t relay_body_len)
tor_add_u32_nowrap(circ->n_overhead_read_circ_bw,
RELAY_PAYLOAD_SIZE-relay_body_len);
}
-