summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2003-01-06 20:51:25 +0000
committerJeff Johnston <jjohnstn@redhat.com>2003-01-06 20:51:25 +0000
commitea5e5daf7ca7895dfa82d2280a7862faefb598ec (patch)
tree75bfe1ff083e43cdc6f7925eba51e58c8e5bcef3
parent5035a08729ad856f1f44b3cbfe2b808976f48663 (diff)
downloadcygnal-ea5e5daf7ca7895dfa82d2280a7862faefb598ec.tar.gz
cygnal-ea5e5daf7ca7895dfa82d2280a7862faefb598ec.tar.bz2
cygnal-ea5e5daf7ca7895dfa82d2280a7862faefb598ec.zip
2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
* asprintf.c (_asprintf_r): insure both declarations are the same.
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/libc/stdio/asprintf.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 1d7d2ccdd..ac57c9fb4 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,8 @@
+2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
+
+ * asprintf.c (_asprintf_r): insure both declarations
+ are the same.
+
2002-12-28 Christopher Faylor <cgf@redhat.com>
* libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
diff --git a/newlib/libc/stdio/asprintf.c b/newlib/libc/stdio/asprintf.c
index 9935c125b..d36781548 100644
--- a/newlib/libc/stdio/asprintf.c
+++ b/newlib/libc/stdio/asprintf.c
@@ -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;