summaryrefslogtreecommitdiffstats
path: root/kernel/include/linux/sort.h
blob: d534da2b55750983571987b33761e09da71babc4 (plain)
1
2
3
4
5
6
7
8
9
10
#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