From 56117621a654132337eed29673241a0d11f2ca33 Mon Sep 17 00:00:00 2001 From: spark Date: Thu, 13 Mar 2008 18:49:45 +0000 Subject: [PATCH] 2008-03-12 Seongbae Park * cplus-dem.c (malloc, realloc): Use void * instead of char * as return type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133181 138bc75d-0d04-0410-961f-82ee72b054a4 --- libiberty/ChangeLog | 5 +++++ libiberty/cplus-dem.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index baa4bdabe2220..fad27c3141406 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,8 @@ +2008-03-12 Seongbae Park + + * cplus-dem.c (malloc, realloc): Use void * instead of char * + as return type. + 2008-03-11 Nick Clifton * md5.c (md5_process_bytes): Do not assume that memcpy will diff --git a/libiberty/cplus-dem.c b/libiberty/cplus-dem.c index da01a06c5fe96..416746753660e 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 #else -char * malloc (); -char * realloc (); +void * malloc (); +void * realloc (); #endif #include