421
|
1 /* Real definitions for extern inline functions in argp.h
|
|
2 Copyright (C) 1997, 1998, 2004, 2009, 2010 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 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.
|
|
10
|
|
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.
|
|
15
|
|
16 You should have received a copy of the GNU General Public License
|
|
17 along with this program. If not, see <http://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 #define ARGP_EI
|
|
31 #undef __OPTIMIZE__
|
|
32 #define __OPTIMIZE__ 1
|
|
33 #include "argp.h"
|
|
34
|
|
35 /* Add weak aliases. */
|
|
36 #if _LIBC - 0 && defined (weak_alias)
|
|
37
|
|
38 weak_alias (__argp_usage, argp_usage)
|
|
39 weak_alias (__option_is_short, _option_is_short)
|
|
40 weak_alias (__option_is_end, _option_is_end)
|
|
41
|
|
42 #endif
|