https://github.com/torvalds/linux
Raw File
Tip revision: a55aa89aab90fae7c815b0551b07be37db359d76 authored by Linus Torvalds on 25 August 2019, 19:01:23 UTC
Linux 5.3-rc6
Tip revision: a55aa89
list_sort.h
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _LINUX_LIST_SORT_H
#define _LINUX_LIST_SORT_H

#include <linux/types.h>

struct list_head;

__attribute__((nonnull(2,3)))
void list_sort(void *priv, struct list_head *head,
	       int (*cmp)(void *priv, struct list_head *a,
			  struct list_head *b));
#endif
back to top