diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-08-23 19:36:45 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-08-23 19:36:45 -0400 |
commit | 6e0872e8672ed18f8c250cdcbdfd3d7bf047c076 (patch) | |
tree | 749a2b33ce547d23dfa9628e26d449da8245af93 /src/test/test.c | |
parent | ced350882dc7fc7e66adce91f9514a7244f26c76 (diff) | |
parent | e01ea64f0a072b321bb8b33e32cfa5644b4364d4 (diff) | |
download | tor-6e0872e8672ed18f8c250cdcbdfd3d7bf047c076.tar.gz tor-6e0872e8672ed18f8c250cdcbdfd3d7bf047c076.zip |
Merge branch 'maint-0.3.3' into maint-0.3.4
Diffstat (limited to 'src/test/test.c')
-rw-r--r-- | src/test/test.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/test/test.c b/src/test/test.c index f0e8b9b728..aea3ad6595 100644 --- a/src/test/test.c +++ b/src/test/test.c @@ -23,6 +23,8 @@ #include <dirent.h> #endif /* defined(_WIN32) */ +#include <math.h> + /* These macros pull in declarations for some functions and structures that * are typically file-private. */ #define ROUTER_PRIVATE @@ -31,14 +33,6 @@ #define MAIN_PRIVATE #define STATEFILE_PRIVATE -/* - * Linux doesn't provide lround in math.h by default, but mac os does... - * It's best just to leave math.h out of the picture entirely. - */ -//#include <math.h> -long int lround(double x); -double fabs(double x); - #include "or.h" #include "backtrace.h" #include "buffers.h" |