sort: add qsort
This commit is contained in:
parent
8721d1968b
commit
c296cb9cf1
2 changed files with 57 additions and 0 deletions
9
include/lib/sort.h
Normal file
9
include/lib/sort.h
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
#ifndef _SORT_H_
|
||||
#define _SORT_H_
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
void qsort(void *base, size_t nmemb, size_t size, int (*compar)(const void *, const void *));
|
||||
|
||||
#endif /* _SORT_H_ */
|
||||
Loading…
Reference in a new issue