2017-11-06 02:38:20 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
2017-08-10 13:25:24 +00:00
|
|
|
#ifndef _LINUX_SORT_H
|
|
|
|
#define _LINUX_SORT_H
|
|
|
|
|
|
|
|
#include <linux/types.h>
|
|
|
|
|
|
|
|
void sort(void *base, size_t num, size_t size,
|
|
|
|
int (*cmp)(const void *, const void *),
|
|
|
|
void (*swap)(void *, void *, int));
|
|
|
|
|
|
|
|
#endif
|