math: Replace naughty macro by an inline function
commit2066e0494c5ddb51af6decbe6941ea3495603fe2
authorDavid Goulet <dgoulet@torproject.org>
Mon, 7 Nov 2022 15:01:47 +0000 (7 10:01 -0500)
committerDavid Goulet <dgoulet@torproject.org>
Mon, 7 Nov 2022 19:49:41 +0000 (7 14:49 -0500)
tree1a4d73e87ee58a9fdd2e5cefd6ef121d56c38611
parentfec9757a37d9e2700802a7ebfc87b4fd33070983
math: Replace naughty macro by an inline function

Part of #40708

Signed-off-by: David Goulet <dgoulet@torproject.org>
src/core/or/circuitlist.c
src/core/or/congestion_control_flow.c
src/core/or/congestion_control_vegas.c
src/lib/math/stats.h