Fix merge sort header.
This commit is contained in:
parent
c723ad32bf
commit
9c2944fec2
|
@ -1,9 +1,6 @@
|
||||||
/* This header defines the functions for merge sort. */
|
/* This header defines the functions for merge sort. */
|
||||||
#ifndef QUICK_SORT_H
|
#ifndef MERGE_SORT_H
|
||||||
#define QUICK_SORT_H
|
#define MERGE_SORT_H
|
||||||
#include <aio.h>
|
/* The merge sort function's definition. */
|
||||||
/* This is the standard (<) comparison function. */
|
void** merge_sort(void** array, int (*comparison_function)(const void*, const void*), const size_t length, const size_t size, const int copy);
|
||||||
int standard_compare_quick_sort(const void* first, const void* second);
|
#endif /* MERGE_SORT_H */
|
||||||
/* The quicksort function's definition. */
|
|
||||||
void** quick_sort(void** array, int (*comparison_function)(const void*, const void*), const size_t length, const size_t size, const int copy);
|
|
||||||
#endif /* QUICK_SORT_H */
|
|
||||||
|
|
Loading…
Reference in New Issue