This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] missing underscore on _asprintf_r



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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]