2 * Copyright © 2012, 2020 Nick Bowler
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <https://www.gnu.org/licenses/>.
30 struct cdecl_declspec;
34 void *malloc_nofail(size_t size);
35 void *realloc_nofail(void *ptr, size_t size);
36 void test_print_specifiers(struct cdecl_declspec *spec);
37 void test_print_decl(struct cdecl *decl);
38 void test_explain_decl(struct cdecl *decl);
40 bool strict_strtoul(unsigned long *val, const char *str, int base);
42 void test_print_version(const char *program);
43 void test_print_options(const struct option *lopts);