summaryrefslogtreecommitdiffstats
path: root/include/qsort.h
blob: f8d889ea1ea62c29d687b3ebaaed503234e62956 (plain)
1
2
3
4
5
6
7
8
9
10
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __QSORT_H
#define __QSORT_H

void qsort(void  *base, size_t nel, size_t width,
	   int (*comp)(const void *, const void *));

int strcmp_compar(const void *p1, const void *p2);

#endif /* __QSORT_H */