#include <err.h>
#include "dhcpd-pools.h"
-#include "defaults.h"
/* Sort functions for range sorting */
int intcomp(const void *x, const void *y)
default:
warnx("field_selector: unknown sort order `%c'", c);
errx(EXIT_FAILURE, "Try `%s --help' for more information.",
- program_invocation_short_name);
+ program_invocation_short_name);
}
}
{
int left, right, i;
struct range_t hold;
+ /* Merge sort split size */
+ static const int MIN_MERGE_SIZE = 8;
if (size < MIN_MERGE_SIZE) {
for (left = 0; left < size; left++) {