source: mainline/uspace/lib/c/include/qsort.h@ cd1e3fc0

Last change on this file since cd1e3fc0 was d7f7a4a, checked in by Jiří Zárevúcky <zarevucky.jiri@…>, 3 years ago

Replace some license headers with SPDX identifier

Headers are replaced using tools/transorm-copyright.sh only
when it can be matched verbatim with the license header used
throughout most of the codebase.

  • Property mode set to 100644
File size: 549 bytes
Line 
1/*
2 * SPDX-FileCopyrightText: 2017 Jiri Svoboda
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7/** @addtogroup libc
8 * @{
9 */
10/** @file
11 */
12
13#ifndef _LIBC_QSORT_H_
14#define _LIBC_QSORT_H_
15
16#include <stddef.h>
17#include <_bits/decls.h>
18
19__C_DECLS_BEGIN;
20extern void qsort(void *, size_t, size_t, int (*)(const void *,
21 const void *));
22__C_DECLS_END;
23
24#ifdef _HELENOS_SOURCE
25__HELENOS_DECLS_BEGIN;
26extern void qsort_r(void *, size_t, size_t, int (*)(const void *,
27 const void *, void *), void *);
28__HELENOS_DECLS_END;
29#endif
30
31#endif
32
33/** @}
34 */
Note: See TracBrowser for help on using the repository browser.