This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
[PATCH] missing underscore on _asprintf_r
- From: Charles Wilson <cwilson at ece dot gatech dot edu>
- To: newlib at sources dot redhat dot com
- Date: Wed, 01 Jan 2003 23:51:20 -0500
- Subject: [PATCH] missing underscore on _asprintf_r
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
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;