1 /* Declarations for missing functions.
2 Copyright (C) 2019 Free Software Foundation, Inc.
4 This file is part of libctf.
6 libctf is free software; you can redistribute it and/or modify it under
7 the terms of the GNU General Public License as published by the Free
8 Software Foundation; either version 3, or (at your option) any later
11 This program is distributed in the hope that it will be useful, but
12 WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14 See the GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; see the file COPYING. If not see
18 <http://www.gnu.org/licenses/>. */
25 #if !HAVE_DECL_QSORT_R
27 void qsort_r (void *base
, size_t nmemb
, size_t size
,
28 int (*compar
)(const void *, const void *, void *),
30 #endif /* !HAVE_DECL_QSORT_R */
34 #define MAX(a, b) ((a) > (b) ? (a) : (b))
35 #define MIN(a, b) ((a) < (b) ? (a) : (b))
37 #endif /* _CTF_DECLS_H */
This page took 0.030357 seconds and 4 git commands to generate.