Linux Audio

Check our new training course

Embedded Linux training

Mar 31-Apr 8, 2025
Register
Loading...
v5.9
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#ifndef _LINUX_LIST_SORT_H
 3#define _LINUX_LIST_SORT_H
 4
 5#include <linux/types.h>
 6
 7struct list_head;
 8
 9__attribute__((nonnull(2,3)))
10void list_sort(void *priv, struct list_head *head,
11	       int (*cmp)(void *priv, struct list_head *a,
12			  struct list_head *b));
13#endif
v4.10.11
 
 1#ifndef _LINUX_LIST_SORT_H
 2#define _LINUX_LIST_SORT_H
 3
 4#include <linux/types.h>
 5
 6struct list_head;
 7
 
 8void list_sort(void *priv, struct list_head *head,
 9	       int (*cmp)(void *priv, struct list_head *a,
10			  struct list_head *b));
11#endif