mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-23 14:45:19 +00:00
1200be31e6
Signed-off-by: David Sterba <dsterba@suse.com>
15 lines
291 B
C
15 lines
291 B
C
/*
|
|
* 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
|