* defs.h, utils.c: xrealloc takes PTR as first arg.

* defs.h:  Reword confusing comment about ANSI prototypes.
	* defs.h:  Some minor whitespace changes.
	* infrun.c (wait_for_inferior):  Compare int tmp to int 0,
	not NULL, which can be (void *).
	* tm-amix.h, tm-i386v4.h:  Add defines for setjmp/longjmp handling.
	* tm-i386v.h (SP_ARG0):  Define
	* xm-sysv4.h:  Back out of change for missing prototypes.
	* i386-tdep.c (get_longjmp_target):  Add function.
This commit is contained in:
Fred Fish 1992-03-04 20:50:10 +00:00
parent c7cb8acbe8
commit d7eddc5177
5 changed files with 69 additions and 15 deletions

View file

@ -65,18 +65,3 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Use setpgid(0,0) to run inferior in a separate process group */
#define NEED_POSIX_SETPGID
/* Declare the return types (or supply prototypes for) functions which
do not end up being defined by any of the currently included system
header files, and which cannot be defined in any common file since a
single definition is known to cause portability problems due to
conflicts with definitions on other systems.
FIXME: This may only be a temporary solution (fnf) */
#ifdef __STDC__
extern void *malloc(size_t);
extern void *realloc(void *, size_t);
#else
extern char *malloc();
extern char *realloc();
#endif