diff options
author | Seongbae Park <seongbae.park@gmail.com> | 2008-03-13 18:49:45 +0000 |
---|---|---|
committer | Seongbae Park <spark@gcc.gnu.org> | 2008-03-13 18:49:45 +0000 |
commit | 5a9340fd7fe5be66db32fbbedd7c2696609b838f (patch) | |
tree | 9790e7dd93d67e202777e5e815a48a4748c87175 | |
parent | 75d8b30e6d0ca8845c1bb8becb5289ec8f75a9af (diff) | |
download | gcc-5a9340fd7fe5be66db32fbbedd7c2696609b838f.zip gcc-5a9340fd7fe5be66db32fbbedd7c2696609b838f.tar.gz gcc-5a9340fd7fe5be66db32fbbedd7c2696609b838f.tar.bz2 |
cplus-dem.c (malloc, realloc): Use void * instead of char * as return type.
2008-03-12 Seongbae Park <seongbae.park@gmail.com>
* cplus-dem.c (malloc, realloc): Use void * instead of char *
as return type.
From-SVN: r133181
-rw-r--r-- | libiberty/ChangeLog | 5 | ||||
-rw-r--r-- | libiberty/cplus-dem.c | 4 |
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> |