projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63a463b
)
* cplus-dem.c [__STDC__]: Make x{m,re}alloc return void*.
author
Jim Kingdon
<jkingdon@engr.sgi.com>
Fri, 3 May 1991 06:03:54 +0000
(06:03 +0000)
committer
Jim Kingdon
<jkingdon@engr.sgi.com>
Fri, 3 May 1991 06:03:54 +0000
(06:03 +0000)
gdb/cplus-dem.c
patch
|
blob
|
history
diff --git
a/gdb/cplus-dem.c
b/gdb/cplus-dem.c
index cbb79c46691e846cd8e205a89c63c2512c69cf83..750bdaeb6640157af14fcd33168a0378cb3a9138 100644
(file)
--- a/
gdb/cplus-dem.c
+++ b/
gdb/cplus-dem.c
@@
-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 ();