mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-03 04:12:10 +08:00
* cplus-dem.c [__STDC__]: Make x{m,re}alloc return void*.
This commit is contained in:
parent
63a463b149
commit
2cb3be2c94
@ -90,8 +90,10 @@ extern char *cplus_demangle ();
|
||||
#endif
|
||||
|
||||
#ifdef __STDC__
|
||||
extern char *xmalloc (int);
|
||||
extern char *xrealloc (char *, int);
|
||||
/* GDB prototypes these as void* in defs.h, so we better too, at least
|
||||
as long as we're including defs.h. */
|
||||
extern void *xmalloc (int);
|
||||
extern void *xrealloc (char *, int);
|
||||
extern void free (char *);
|
||||
#else
|
||||
extern char *xmalloc ();
|
||||
|
Loading…
Reference in New Issue
Block a user