[PATCH] missing underscore on _asprintf_r
J. Johnston
jjohnstn@redhat.com
Mon Jan 6 20:54:00 GMT 2003
Charles Wilson wrote:
> Both the STDC declaration and the non-STDC declaration should be the
> same, right?
>
> 2003-01-01 Charles Wilson <cwilson@ece.gatech.edu>
>
> * asprintf.c (_asprintf_r): insure both declarations
> are the same.
>
> --Chuck
>
Patch checked in. Thanks.
-- Jeff J.
>
> ------------------------------------------------------------------------
>
> Index: asprintf.c
> ===================================================================
> RCS file: /cvs/src/src/newlib/libc/stdio/asprintf.c,v
> retrieving revision 1.1
> diff -u -r1.1 asprintf.c
> --- asprintf.c 4 Jul 2002 18:56:17 -0000 1.1
> +++ asprintf.c 2 Jan 2003 02:17:52 -0000
> @@ -29,7 +29,7 @@
>
> int
> #ifdef _HAVE_STDC
> -_DEFUN (asprintf_r, (ptr, strp, fmt), struct _reent *ptr _AND char **strp _AND _CONST char *fmt _DOTS)
> +_DEFUN (_asprintf_r, (ptr, strp, fmt), struct _reent *ptr _AND char **strp _AND _CONST char *fmt _DOTS)
> #else
> _asprintf_r (ptr, strp, fmt, va_alist)
> struct _reent *ptr;
More information about the Newlib
mailing list