openat: don’t close (-1)
[gnulib.git] / lib / argp-fs-xinl.c
blob31e3f0d9e5df603700d68b09a40680b0d6e1f478
1 /* Real definitions for extern inline functions in argp-fmtstream.h
2 Copyright (C) 1997-2024 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 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.
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.
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/>. */
19 #ifdef HAVE_CONFIG_H
20 # include <config.h>
21 #endif
23 #ifdef _LIBC
24 # define ARGP_FS_EI
25 #else
26 # define ARGP_FS_EI _GL_EXTERN_INLINE
27 #endif
28 #undef __OPTIMIZE__
29 #define __OPTIMIZE__ 1
30 #include "argp-fmtstream.h"
32 #if 0
33 /* Not exported. */
34 /* Add weak aliases. */
35 #if _LIBC - 0 && !defined (ARGP_FMTSTREAM_USE_LINEWRAP) && defined (weak_alias)
37 weak_alias (__argp_fmtstream_putc, argp_fmtstream_putc)
38 weak_alias (__argp_fmtstream_puts, argp_fmtstream_puts)
39 weak_alias (__argp_fmtstream_write, argp_fmtstream_write)
40 weak_alias (__argp_fmtstream_set_lmargin, argp_fmtstream_set_lmargin)
41 weak_alias (__argp_fmtstream_set_rmargin, argp_fmtstream_set_rmargin)
42 weak_alias (__argp_fmtstream_set_wmargin, argp_fmtstream_set_wmargin)
43 weak_alias (__argp_fmtstream_point, argp_fmtstream_point)
45 #endif
46 #endif