aboutsummaryrefslogtreecommitdiff
path: root/src/test/test-memwipe.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-04-25 15:28:58 -0400
committerNick Mathewson <nickm@torproject.org>2016-04-25 15:28:58 -0400
commitbff53aabce531d7786a7ce2d4dee818770d8d0cd (patch)
tree50862e68aac0ea92beddd291a0606a61044dcfc3 /src/test/test-memwipe.c
parent26db1b65b92270953a6fa9e79697773fe2b73235 (diff)
downloadtor-bff53aabce531d7786a7ce2d4dee818770d8d0cd.tar.gz
tor-bff53aabce531d7786a7ce2d4dee818770d8d0cd.zip
Remove redundant declarations of MIN
Apparently somewhere along the line we decided that MIN might be missing. But we already defined it (if it was missing) in compat.h, which everybody includes. Closes ticket 18889.
Diffstat (limited to 'src/test/test-memwipe.c')
-rw-r--r--src/test/test-memwipe.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/test/test-memwipe.c b/src/test/test-memwipe.c
index 5d4fcec664..5e89534db6 100644
--- a/src/test/test-memwipe.c
+++ b/src/test/test-memwipe.c
@@ -6,9 +6,6 @@
#include "crypto.h"
#include "compat.h"
-#undef MIN
-#define MIN(a,b) ( ((a)<(b)) ? (a) : (b) )
-
static unsigned fill_a_buffer_memset(void) __attribute__((noinline));
static unsigned fill_a_buffer_memwipe(void) __attribute__((noinline));
static unsigned fill_a_buffer_nothing(void) __attribute__((noinline));