1 /* Real definitions for extern inline functions in argp.h 2 Copyright (C) 1997-2021 Free Software Foundation, Inc. 3 This file is part of the GNU C Library. 4 Written by Miles Bader <miles@gnu.ai.mit.edu>. 5 6 This file is free software: you can redistribute it and/or modify 7 it under the terms of the GNU Lesser General Public License as 8 published by the Free Software Foundation; either version 3 of the 9 License, or (at your option) any later version. 10 11 This file is distributed in the hope that it will be useful, 12 but WITHOUT ANY WARRANTY; without even the implied warranty of 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 GNU Lesser General Public License for more details. 15 16 You should have received a copy of the GNU Lesser General Public License 17 along with this program. If not, see <https://www.gnu.org/licenses/>. */ 18 19 #ifdef HAVE_CONFIG_H 20 # include <config.h> 21 #endif 22 23 #if defined _LIBC || defined HAVE_FEATURES_H 24 # include <features.h> 25 #endif 26 27 #ifndef __USE_EXTERN_INLINES 28 # define __USE_EXTERN_INLINES 1 29 #endif 30 #ifdef _LIBC 31 # define ARGP_EI 32 #else 33 # define ARGP_EI _GL_EXTERN_INLINE 34 #endif 35 #undef __OPTIMIZE__ 36 #define __OPTIMIZE__ 1 37 #include "argp.h" 38 39 /* Add weak aliases. */ 40 #if _LIBC - 0 && defined (weak_alias) 41 42 weak_alias (__argp_usage, argp_usage) 43 weak_alias (__option_is_short, _option_is_short) 44 weak_alias (__option_is_end, _option_is_end) 45 46 #endif