mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-10 08:02:20 +08:00
* 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.
This commit is contained in:
@ -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 ();
|
||||
|
Reference in New Issue
Block a user