Newer
Older
barebox / include / linux / list_sort.h
@Alexander Stein Alexander Stein on 8 Apr 2016 238 bytes Add list_sort from u-boot v2016.03
#ifndef _LINUX_LIST_SORT_H
#define _LINUX_LIST_SORT_H

#include <linux/types.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