repo.or.cz
/
drm
/
drm-misc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
printf: Remove unused 'bprintf'
[drm/drm-misc.git]
/
include
/
linux
/
sort.h
blob
e163287ac6c188952ffb1a9caa00a222a7e1d6fd
1
/* SPDX-License-Identifier: GPL-2.0 */
2
#ifndef _LINUX_SORT_H
3
#define _LINUX_SORT_H
4
5
#include <linux/types.h>
6
7
void
sort_r
(
void
*
base
,
size_t
num
,
size_t
size
,
8
cmp_r_func_t cmp_func
,
9
swap_r_func_t swap_func
,
10
const void
*
priv
);
11
12
void
sort
(
void
*
base
,
size_t
num
,
size_t
size
,
13
cmp_func_t cmp_func
,
14
swap_func_t swap_func
);
15
16
#endif