argp-fs-xinl.c 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /* Real definitions for extern inline functions in argp-fmtstream.h
  2. Copyright (C) 1997, 2003-2004, 2009-2013 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. This program is free software: you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 3 of the License, or
  8. (at your option) any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program. If not, see <http://www.gnu.org/licenses/>. */
  15. #ifdef HAVE_CONFIG_H
  16. # include <config.h>
  17. #endif
  18. #ifdef _LIBC
  19. # define ARGP_FS_EI
  20. #else
  21. # define ARGP_FS_EI _GL_EXTERN_INLINE
  22. #endif
  23. #undef __OPTIMIZE__
  24. #define __OPTIMIZE__ 1
  25. #include "argp-fmtstream.h"
  26. #if 0
  27. /* Not exported. */
  28. /* Add weak aliases. */
  29. #if _LIBC - 0 && !defined (ARGP_FMTSTREAM_USE_LINEWRAP) && defined (weak_alias)
  30. weak_alias (__argp_fmtstream_putc, argp_fmtstream_putc)
  31. weak_alias (__argp_fmtstream_puts, argp_fmtstream_puts)
  32. weak_alias (__argp_fmtstream_write, argp_fmtstream_write)
  33. weak_alias (__argp_fmtstream_set_lmargin, argp_fmtstream_set_lmargin)
  34. weak_alias (__argp_fmtstream_set_rmargin, argp_fmtstream_set_rmargin)
  35. weak_alias (__argp_fmtstream_set_wmargin, argp_fmtstream_set_wmargin)
  36. weak_alias (__argp_fmtstream_point, argp_fmtstream_point)
  37. #endif
  38. #endif