00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #if !_LIBC
00021
00022
00023
00024
00025
00026 #undef __argp_parse
00027 #define __argp_parse argp_parse
00028 #undef __option_is_end
00029 #define __option_is_end _option_is_end
00030 #undef __option_is_short
00031 #define __option_is_short _option_is_short
00032 #undef __argp_input
00033 #define __argp_input _argp_input
00034
00035
00036 #undef __argp_help
00037 #define __argp_help argp_help
00038 #undef __argp_error
00039 #define __argp_error argp_error
00040 #undef __argp_failure
00041 #define __argp_failure argp_failure
00042 #undef __argp_state_help
00043 #define __argp_state_help argp_state_help
00044 #undef __argp_usage
00045 #define __argp_usage argp_usage
00046
00047
00048 #undef __argp_make_fmtstream
00049 #define __argp_make_fmtstream argp_make_fmtstream
00050 #undef __argp_fmtstream_free
00051 #define __argp_fmtstream_free argp_fmtstream_free
00052 #undef __argp_fmtstream_putc
00053 #define __argp_fmtstream_putc argp_fmtstream_putc
00054 #undef __argp_fmtstream_puts
00055 #define __argp_fmtstream_puts argp_fmtstream_puts
00056 #undef __argp_fmtstream_write
00057 #define __argp_fmtstream_write argp_fmtstream_write
00058 #undef __argp_fmtstream_printf
00059 #define __argp_fmtstream_printf argp_fmtstream_printf
00060 #undef __argp_fmtstream_set_lmargin
00061 #define __argp_fmtstream_set_lmargin argp_fmtstream_set_lmargin
00062 #undef __argp_fmtstream_set_rmargin
00063 #define __argp_fmtstream_set_rmargin argp_fmtstream_set_rmargin
00064 #undef __argp_fmtstream_set_wmargin
00065 #define __argp_fmtstream_set_wmargin argp_fmtstream_set_wmargin
00066 #undef __argp_fmtstream_point
00067 #define __argp_fmtstream_point argp_fmtstream_point
00068 #undef __argp_fmtstream_update
00069 #define __argp_fmtstream_update _argp_fmtstream_update
00070 #undef __argp_fmtstream_ensure
00071 #define __argp_fmtstream_ensure _argp_fmtstream_ensure
00072 #undef __argp_fmtstream_lmargin
00073 #define __argp_fmtstream_lmargin argp_fmtstream_lmargin
00074 #undef __argp_fmtstream_rmargin
00075 #define __argp_fmtstream_rmargin argp_fmtstream_rmargin
00076 #undef __argp_fmtstream_wmargin
00077 #define __argp_fmtstream_wmargin argp_fmtstream_wmargin
00078
00079 #include "mempcpy.h"
00080 #include "strcase.h"
00081 #include "strchrnul.h"
00082 #include "strndup.h"
00083
00084
00085 #undef __flockfile
00086 #define __flockfile flockfile
00087 #undef __funlockfile
00088 #define __funlockfile funlockfile
00089 #undef __mempcpy
00090 #define __mempcpy mempcpy
00091 #undef __sleep
00092 #define __sleep sleep
00093 #undef __strcasecmp
00094 #define __strcasecmp strcasecmp
00095 #undef __strchrnul
00096 #define __strchrnul strchrnul
00097 #undef __strerror_r
00098 #define __strerror_r strerror_r
00099 #undef __strndup
00100 #define __strndup strndup
00101 #undef __vsnprintf
00102 #define __vsnprintf vsnprintf
00103
00104 #if defined(HAVE_DECL_CLEARERR_UNLOCKED) && !HAVE_DECL_CLEARERR_UNLOCKED
00105 # define clearerr_unlocked(x) clearerr (x)
00106 #endif
00107 #if defined(HAVE_DECL_FEOF_UNLOCKED) && !HAVE_DECL_FEOF_UNLOCKED
00108 # define feof_unlocked(x) feof (x)
00109 # endif
00110 #if defined(HAVE_DECL_FERROR_UNLOCKED) && !HAVE_DECL_FERROR_UNLOCKED
00111 # define ferror_unlocked(x) ferror (x)
00112 # endif
00113 #if defined(HAVE_DECL_FFLUSH_UNLOCKED) && !HAVE_DECL_FFLUSH_UNLOCKED
00114 # define fflush_unlocked(x) fflush (x)
00115 # endif
00116 #if defined(HAVE_DECL_FGETS_UNLOCKED) && !HAVE_DECL_FGETS_UNLOCKED
00117 # define fgets_unlocked(x,y,z) fgets (x,y,z)
00118 # endif
00119 #if defined(HAVE_DECL_FPUTC_UNLOCKED) && !HAVE_DECL_FPUTC_UNLOCKED
00120 # define fputc_unlocked(x,y) fputc (x,y)
00121 # endif
00122 #if defined(HAVE_DECL_FPUTS_UNLOCKED) && !HAVE_DECL_FPUTS_UNLOCKED
00123 # define fputs_unlocked(x,y) fputs (x,y)
00124 # endif
00125 #if defined(HAVE_DECL_FREAD_UNLOCKED) && !HAVE_DECL_FREAD_UNLOCKED
00126 # define fread_unlocked(w,x,y,z) fread (w,x,y,z)
00127 # endif
00128 #if defined(HAVE_DECL_FWRITE_UNLOCKED) && !HAVE_DECL_FWRITE_UNLOCKED
00129 # define fwrite_unlocked(w,x,y,z) fwrite (w,x,y,z)
00130 # endif
00131 #if defined(HAVE_DECL_GETC_UNLOCKED) && !HAVE_DECL_GETC_UNLOCKED
00132 # define getc_unlocked(x) getc (x)
00133 # endif
00134 #if defined(HAVE_DECL_GETCHAR_UNLOCKED) && !HAVE_DECL_GETCHAR_UNLOCKED
00135 # define getchar_unlocked() getchar ()
00136 # endif
00137 #if defined(HAVE_DECL_PUTC_UNLOCKED) && !HAVE_DECL_PUTC_UNLOCKED
00138 # define putc_unlocked(x,y) putc (x,y)
00139 # endif
00140 #if defined(HAVE_DECL_PUTCHAR_UNLOCKED) && !HAVE_DECL_PUTCHAR_UNLOCKED
00141 # define putchar_unlocked(x) putchar (x)
00142 # endif
00143
00144 extern char *__argp_basename (char *name);
00145
00146 #endif
00147
00148 #ifndef __set_errno
00149 #define __set_errno(e) (errno = (e))
00150 #endif
00151
00152 #if defined _LIBC || HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME
00153 # define __argp_short_program_name() (program_invocation_short_name)
00154 #else
00155 extern char *__argp_short_program_name (void);
00156 #endif