summaryrefslogtreecommitdiff
path: root/libiberty/cplus-dem.c
diff options
context:
space:
mode:
authorspark <spark@138bc75d-0d04-0410-961f-82ee72b054a4>2008-03-13 18:49:45 +0000
committerspark <spark@138bc75d-0d04-0410-961f-82ee72b054a4>2008-03-13 18:49:45 +0000
commit56117621a654132337eed29673241a0d11f2ca33 (patch)
tree9790e7dd93d67e202777e5e815a48a4748c87175 /libiberty/cplus-dem.c
parent5b2ddfe1ac6ede4c1403b88c056836a14e29576a (diff)
downloadgcc-56117621a654132337eed29673241a0d11f2ca33.tar.gz
2008-03-12 Seongbae Park <seongbae.park@gmail.com>
* 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
Diffstat (limited to 'libiberty/cplus-dem.c')
-rw-r--r--libiberty/cplus-dem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libiberty/cplus-dem.c b/libiberty/cplus-dem.c
index da01a06c5fe..41674675366 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>