| 1 | /* Real definitions for extern inline functions in argp.h
|
|---|
| 2 | Copyright (C) 1997, 1998, 2004 Free Software Foundation, Inc.
|
|---|
| 3 | This file is part of the GNU C Library.
|
|---|
| 4 | Written by Miles Bader <[email protected]>.
|
|---|
| 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 2, or (at your option)
|
|---|
| 9 | 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 along
|
|---|
| 17 | with this program; if not, write to the Free Software Foundation,
|
|---|
| 18 | Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
|
|---|
| 19 |
|
|---|
| 20 | #ifdef HAVE_CONFIG_H
|
|---|
| 21 | # include <config.h>
|
|---|
| 22 | #endif
|
|---|
| 23 |
|
|---|
| 24 | #if defined _LIBC || defined HAVE_FEATURES_H
|
|---|
| 25 | # include <features.h>
|
|---|
| 26 | #endif
|
|---|
| 27 |
|
|---|
| 28 | #ifndef __USE_EXTERN_INLINES
|
|---|
| 29 | # define __USE_EXTERN_INLINES 1
|
|---|
| 30 | #endif
|
|---|
| 31 | #define ARGP_EI
|
|---|
| 32 | #undef __OPTIMIZE__
|
|---|
| 33 | #define __OPTIMIZE__ 1
|
|---|
| 34 | #include "argp.h"
|
|---|
| 35 |
|
|---|
| 36 | /* Add weak aliases. */
|
|---|
| 37 | #if _LIBC - 0 && defined (weak_alias)
|
|---|
| 38 |
|
|---|
| 39 | weak_alias (__argp_usage, argp_usage)
|
|---|
| 40 | weak_alias (__option_is_short, _option_is_short)
|
|---|
| 41 | weak_alias (__option_is_end, _option_is_end)
|
|---|
| 42 |
|
|---|
| 43 | #endif
|
|---|