hc
2024-08-09 d3d58fa5ee2428cd2dde78fd8eeeeabe916b3835
1
2
3
4
5
6
7
8
9
10
11
12
13
/* 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