#include <stdlib.h>
#include <string.h>
#include "alloc.h"
+#include <libpspp/assertion.h>
-/* Some of the assertions in this file are very expensive. We
- don't use them by default. */
-#ifdef EXTRA_CHECKS
-#define expensive_assert(X) assert(X)
-#else
-#define expensive_assert(X) ((void) 0)
-#endif
#include "message.h"
\f
/* Finds an element in ARRAY, which contains COUNT elements of
stack size is needed (actually O(1) in this case)! */
void
-sort (const void *array, size_t count, size_t size,
+sort (void *array, size_t count, size_t size,
algo_compare_func *compare, void *aux)
{
char *const first = array;