Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | #ifndef _LINUX_SORT_H |
3 | #define _LINUX_SORT_H | ||||
4 | |||||
5 | #include <linux/types.h> | ||||
6 | |||||
7 | void sort(void *base, size_t num, size_t size, | ||||
8 | int (*cmp)(const void *, const void *), | ||||
9 | void (*swap)(void *, void *, int)); | ||||
10 | |||||
11 | #endif |