summaryrefslogtreecommitdiff
path: root/gdb/xm-sysv4.h
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1992-03-04 20:50:10 +0000
committerFred Fish <fnf@specifix.com>1992-03-04 20:50:10 +0000
commitd7eddc517782bf0673e4bcd15c4159ae5799a247 (patch)
tree5cbaafd5433cb047b3a50693a4120fa5d0de4ae7 /gdb/xm-sysv4.h
parentc7cb8acbe8eb1226ef76fe716aa050d3b9d0e860 (diff)
downloadbinutils-gdb-d7eddc517782bf0673e4bcd15c4159ae5799a247.tar.gz
* 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.
Diffstat (limited to 'gdb/xm-sysv4.h')
-rw-r--r--gdb/xm-sysv4.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/gdb/xm-sysv4.h b/gdb/xm-sysv4.h
index 8d5b0d1e27e..35c831da320 100644
--- a/gdb/xm-sysv4.h
+++ b/gdb/xm-sysv4.h
@@ -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