btrfs-progs/kernel-lib/list_sort.h

13 lines
266 B
C
Raw Normal View History

/*
* taken from linux kernel include/list_sort.h
*/
#ifndef _LINUX_LIST_SORT_H
#define _LINUX_LIST_SORT_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