diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/rps/rps-test_util.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rps/rps-test_util.c b/src/rps/rps-test_util.c index f3367e01b..a6ea033cd 100644 --- a/src/rps/rps-test_util.c +++ b/src/rps/rps-test_util.c | |||
@@ -45,7 +45,6 @@ | |||
45 | 45 | ||
46 | #ifdef TO_FILE | 46 | #ifdef TO_FILE |
47 | 47 | ||
48 | #define min(x,y) ((x) > (y) ? (y) : (x)) | ||
49 | 48 | ||
50 | /** | 49 | /** |
51 | * @brief buffer for storing the unaligned bits for the next write | 50 | * @brief buffer for storing the unaligned bits for the next write |
@@ -201,7 +200,7 @@ to_file_raw_unaligned (const char *file_name, | |||
201 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 200 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
202 | "number of bits needed to align unaligned bit: %u\n", | 201 | "number of bits needed to align unaligned bit: %u\n", |
203 | num_bits_to_align); | 202 | num_bits_to_align); |
204 | num_bits_to_move = min (num_bits_to_align, num_bits_needed_iter); | 203 | num_bits_to_move = GNUNET_MIN (num_bits_to_align, num_bits_needed_iter); |
205 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 204 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
206 | "number of bits of new byte to move: %u\n", | 205 | "number of bits of new byte to move: %u\n", |
207 | num_bits_to_move); | 206 | num_bits_to_move); |