aboutsummaryrefslogtreecommitdiff
path: root/include/linux/sort.h
blob: 2b99a5dd073d16ea1c94b6cfbc2d9d97e57b1ed7 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* SPDX-License-Identifier: GPL-2.0 */
#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