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. */
|
||||
#ifndef QUICK_SORT_H
|
||||
#define QUICK_SORT_H
|
||||
#include <aio.h>
|
||||
/* This is the standard (<) comparison function. */
|
||||
int standard_compare_quick_sort(const void* first, const void* second);
|
||||
/* 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 */
|
||||
#ifndef MERGE_SORT_H
|
||||
#define MERGE_SORT_H
|
||||
/* The merge sort function's definition. */
|
||||
void** merge_sort(void** array, int (*comparison_function)(const void*, const void*), const size_t length, const size_t size, const int copy);
|
||||
#endif /* MERGE_SORT_H */
|
||||
|
|
Loading…
Reference in New Issue