Made error code consistent with the other text parsing functions.
[gnutls.git] / gl / argp-fs-xinl.c
blobb030e589f6cfa7108af7475f83af0903cdf9a268
1 /* Real definitions for extern inline functions in argp-fmtstream.h
2 Copyright (C) 1997, 2003-2004, 2009-2012 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 <http://www.gnu.org/licenses/>. */
19 #ifdef HAVE_CONFIG_H
20 # include <config.h>
21 #endif
23 #define ARGP_FS_EI
24 #undef __OPTIMIZE__
25 #define __OPTIMIZE__ 1
26 #include "argp-fmtstream.h"
28 #if 0
29 /* Not exported. */
30 /* Add weak aliases. */
31 #if _LIBC - 0 && !defined (ARGP_FMTSTREAM_USE_LINEWRAP) && defined (weak_alias)
33 weak_alias (__argp_fmtstream_putc, argp_fmtstream_putc)
34 weak_alias (__argp_fmtstream_puts, argp_fmtstream_puts)
35 weak_alias (__argp_fmtstream_write, argp_fmtstream_write)
36 weak_alias (__argp_fmtstream_set_lmargin, argp_fmtstream_set_lmargin)
37 weak_alias (__argp_fmtstream_set_rmargin, argp_fmtstream_set_rmargin)
38 weak_alias (__argp_fmtstream_set_wmargin, argp_fmtstream_set_wmargin)
39 weak_alias (__argp_fmtstream_point, argp_fmtstream_point)
41 #endif
42 #endif