2c886f02dd195e44ca67532fa34f88b89a4ba603 |
|
21-Sep-2015 |
Phil Carmody <phil@dovecot.fi> |
lib: extract sort-helpers into separate sort.h file
The macro definition was nothing to do with strings, and we can put
trivial common-type comparators here. They didn't need to be static
inline, as they can never be inlined anyway, being only used via
function pointers, but that preserves the closest equivalent to
the current code.
Signed-off-by: Phil Carmody <phil@dovecot.fi> |