aboutsummaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2008-03-13 19:13:36 +0000
committerDJ Delorie <dj@redhat.com>2008-03-13 19:13:36 +0000
commit6b357a9d2d6f6beb022e691de3031c1d5661aeba (patch)
tree46fab89a1a0150c7f31ce8369f16dfbeeeb2c6f2 /libiberty
parent5c5f596dbb0041a08c7aca79db865461b992df9d (diff)
downloadgdb-6b357a9d2d6f6beb022e691de3031c1d5661aeba.zip
gdb-6b357a9d2d6f6beb022e691de3031c1d5661aeba.tar.gz
gdb-6b357a9d2d6f6beb022e691de3031c1d5661aeba.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/ChangeLog5
-rw-r--r--libiberty/cplus-dem.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index baa4bda..fad27c3 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,8 @@
+2008-03-12 Seongbae Park <seongbae.park@gmail.com>
+
+ * cplus-dem.c (malloc, realloc): Use void * instead of char *
+ as return type.
+
2008-03-11 Nick Clifton <nickc@redhat.com>
* md5.c (md5_process_bytes): Do not assume that memcpy will
diff --git a/libiberty/cplus-dem.c b/libiberty/cplus-dem.c
index da01a06..4167467 100644
--- a/libiberty/cplus-dem.c
+++ b/libiberty/cplus-dem.c
@@ -52,8 +52,8 @@ Boston, MA 02110-1301, USA. */
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#else
-char * malloc ();
-char * realloc ();
+void * malloc ();
+void * realloc ();
#endif
#include <demangle.h>