diff options
author | Jakub Jelinek <jakub@redhat.com> | 2005-08-22 07:34:59 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2005-08-22 07:34:59 +0000 |
commit | 8b0a52444c889fd368f51ba37ad401b6ca5d40f1 (patch) | |
tree | e61c0a96c4f02a2ae41a4a6b8b291cd0adfa75be /argp | |
parent | 964f44e4d838ce28ae848f228c7212cf609ace3c (diff) | |
download | glibc-8b0a52444c889fd368f51ba37ad401b6ca5d40f1.tar.gz glibc-8b0a52444c889fd368f51ba37ad401b6ca5d40f1.tar.xz glibc-8b0a52444c889fd368f51ba37ad401b6ca5d40f1.zip |
Updated to fedora-glibc-20050822T0727
Diffstat (limited to 'argp')
-rw-r--r-- | argp/argp-help.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/argp/argp-help.c b/argp/argp-help.c index ee61ed4d5c..4bc4d07b15 100644 --- a/argp/argp-help.c +++ b/argp/argp-help.c @@ -48,7 +48,8 @@ char *alloca (); #include <stdarg.h> #include <ctype.h> #include <limits.h> -#ifdef USE_IN_LIBIO +#ifdef _LIBC +# include <../libio/libioP.h> # include <wchar.h> #endif @@ -1766,7 +1767,7 @@ __argp_error (const struct argp_state *state, const char *fmt, ...) #ifdef _LIBC char *buf; - if (__asprintf (&buf, fmt, ap) < 0) + if (_IO_vasprintf (&buf, fmt, ap) < 0) buf = NULL; __fxprintf (stream, "%s: %s\n", @@ -1836,7 +1837,7 @@ __argp_failure (const struct argp_state *state, int status, int errnum, #ifdef _LIBC char *buf; - if (__asprintf (&buf, fmt, ap) < 0) + if (_IO_vasprintf (&buf, fmt, ap) < 0) buf = NULL; __fxprintf (stream, ": %s", buf); |