1 /* Compat globfree. Linux/alpha version. 2 Copyright (C) 2017-2021 Free Software Foundation, Inc. 3 This file is part of the GNU C Library. 4 5 The GNU C Library is free software; you can redistribute it and/or 6 modify it under the terms of the GNU Lesser General Public 7 License as published by the Free Software Foundation; either 8 version 2.1 of the License, or (at your option) any later version. 9 10 The GNU C Library is distributed in the hope that it will be useful, 11 but WITHOUT ANY WARRANTY; without even the implied warranty of 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 Lesser General Public License for more details. 14 15 You should have received a copy of the GNU Lesser General Public 16 License along with the GNU C Library. If not, see 17 <https://www.gnu.org/licenses/>. */ 18 19 #define globfree64 __no_globfree64_decl 20 #include <sys/types.h> 21 #include <glob.h> 22 #include <shlib-compat.h> 23 24 #define globfree(pglob) \ 25 __new_globfree (pglob) 26 27 extern void __new_globfree (glob_t *__pglob); 28 29 #include <posix/globfree.c> 30 31 #undef globfree64 32 33 versioned_symbol (libc, __new_globfree, globfree, GLIBC_2_1); 34 libc_hidden_ver (__new_globfree, globfree) 35 36 weak_alias (__new_globfree, globfree64) 37 libc_hidden_ver (__new_globfree, globfree64) 38