aboutsummaryrefslogtreecommitdiff
path: root/gdb/cplus-dem.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-02-20 19:23:42 +0000
committerJohn Gilmore <gnu@cygnus>1992-02-20 19:23:42 +0000
commit088c3a0b74c7431d31ec5d095f4e68bdd2d90c0b (patch)
tree0ce19e10e2ec6ba41392bf245df0841bfde317bc /gdb/cplus-dem.c
parent8b87cbae28c26fd9b5bed99eb134f6c66ee946ac (diff)
downloadgdb-088c3a0b74c7431d31ec5d095f4e68bdd2d90c0b.zip
gdb-088c3a0b74c7431d31ec5d095f4e68bdd2d90c0b.tar.gz
gdb-088c3a0b74c7431d31ec5d095f4e68bdd2d90c0b.tar.bz2
* defs.h: Include ansidecl.h and PARAMS macro. Use PARAMS
to make prototypes for all functions declared here. * cplus-dem.c: Avoid declaring xmalloc and xrealloc. * c-exp.y: Rename SIGNED, OR, and AND to avoid conflict. * environ.c: Include <stdio.h> before defs.h. Minor cleanup. * ieee-float.h: Use PARAMS for prototypes; make some params const. * ieee-float.c, valarith.c: Include <stdio.h>. Lint. b*=>mem*. * m2-exp.y: Remove unused CONST; Rename OR and AND. * utils.c: Avoid declaring malloc and realloc. Lint. (request_quit): Accept signal-number parameter.
Diffstat (limited to 'gdb/cplus-dem.c')
-rw-r--r--gdb/cplus-dem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/cplus-dem.c b/gdb/cplus-dem.c
index 626b756..f02b3c4 100644
--- a/gdb/cplus-dem.c
+++ b/gdb/cplus-dem.c
@@ -86,8 +86,8 @@ extern char *cplus_demangle ();
#ifdef __STDC__
/* 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);
+/* FIXME extern void *xmalloc (int);
+ extern void *xrealloc (char *, int); */
extern void free (void *);
#else
extern char *xmalloc ();