diff options
author | Dimitri John Ledkov <xnox@ubuntu.com> | 2016-07-26 13:24:39 +0100 |
---|---|---|
committer | Dimitri John Ledkov <xnox@ubuntu.com> | 2016-07-26 13:24:39 +0100 |
commit | 3d69435ee3292b4b1db2d61c4784789d75883821 (patch) | |
tree | 2c0edc9d9501374799875af36259089feb99d48c /list_sort.h |
Imported Upstream version 4.6.1
Diffstat (limited to 'list_sort.h')
-rw-r--r-- | list_sort.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/list_sort.h b/list_sort.h new file mode 100644 index 00000000..987cd5c4 --- /dev/null +++ b/list_sort.h @@ -0,0 +1,14 @@ +/* + * taken from linux kernel include/list_sort.h + */ +#ifndef _LINUX_LIST_SORT_H +#define _LINUX_LIST_SORT_H + +#include "kerncompat.h" + +struct list_head; + +void list_sort(void *priv, struct list_head *head, + int (*cmp)(void *priv, struct list_head *a, + struct list_head *b)); +#endif |