From 9c2944fec2f0e1b75693800079be4559d92f9964 Mon Sep 17 00:00:00 2001 From: wael Date: Thu, 14 Oct 2021 12:47:14 +0300 Subject: [PATCH] Fix merge sort header. --- sorting_algorithms/merge_sort/merge_sort.h | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/sorting_algorithms/merge_sort/merge_sort.h b/sorting_algorithms/merge_sort/merge_sort.h index 85d12b8..38def14 100644 --- a/sorting_algorithms/merge_sort/merge_sort.h +++ b/sorting_algorithms/merge_sort/merge_sort.h @@ -1,9 +1,6 @@ /* This header defines the functions for merge sort. */ -#ifndef QUICK_SORT_H -#define QUICK_SORT_H -#include -/* 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 */