From 280892f550b5e98870fc1de117891212f32d4749 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sat, 8 Sep 2007 22:49:54 +0200 Subject: [PATCH] Clean up #undef's. --- lib/sorter/TODO | 3 ++- lib/sorter/array.h | 13 ++++++------- lib/sorter/common.h | 2 +- lib/sorter/sorter.h | 34 +++++++++++++++++----------------- 4 files changed, 26 insertions(+), 26 deletions(-) diff --git a/lib/sorter/TODO b/lib/sorter/TODO index a86acf1e..ed0af57b 100644 --- a/lib/sorter/TODO +++ b/lib/sorter/TODO @@ -5,10 +5,11 @@ o Empty files. Cleanups: o Clean up data types and make sure they cannot overflow. (size_t vs. u64 vs. sh_off_t vs. uns) +o Clean up log levels. +o Clean up introductory comments. o Log messages should show both original and new size of the data. The speed should be probably calculated from the former. o Automatically tune ASORT_MIN_RADIX, ASORT_MIN_SHIFT and especially ASORT_RADIX_BITS. -o Check undefs in sorter.h and array.h. Improvements: o Switching between direct and normal I/O. Should use normal I/O if the input is small enough. diff --git a/lib/sorter/array.h b/lib/sorter/array.h index 0f18741b..076f6d33 100644 --- a/lib/sorter/array.h +++ b/lib/sorter/array.h @@ -23,7 +23,7 @@ * ASORT_PREFIX(x) [*] add a name prefix (used on all global names * defined by the sorter) * ASORT_KEY_TYPE [*] data type of a single array entry key - * ASORT_LT(x,y) x < y for ASORT_TYPE (default: "x x