timevar: import from Bison.
[gnulib.git] / lib / argp-xinl.c
blob6ee111e79f07619b1630eaa58cdb8c05da4e10c9
1 /* Real definitions for extern inline functions in argp.h
2 Copyright (C) 1997-2018 Free Software Foundation, Inc.
3 This file is part of the GNU C Library.
4 Written by Miles Bader <miles@gnu.ai.mit.edu>.
6 This program is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 3 of the License, or
9 (at your option) any later version.
11 This program 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 General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <https://www.gnu.org/licenses/>. */
19 #ifdef HAVE_CONFIG_H
20 # include <config.h>
21 #endif
23 #if defined _LIBC || defined HAVE_FEATURES_H
24 # include <features.h>
25 #endif
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"
39 /* Add weak aliases. */
40 #if _LIBC - 0 && defined (weak_alias)
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)
46 #endif