From b67903acf69c7a0746ac4a8daab7e51a48dbd5a1 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Thu, 10 Sep 1992 19:56:45 +0000 Subject: [PATCH] from p3: remote-vx.c: hide name realloc for inclusion of rpc/rpc.h --- gdb/remote-vx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gdb/remote-vx.c b/gdb/remote-vx.c index b9a74fea5ee..635ffe3aa78 100644 --- a/gdb/remote-vx.c +++ b/gdb/remote-vx.c @@ -37,9 +37,11 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include #define malloc bogon_malloc /* Sun claims "char *malloc()" not void * */ #define free bogon_free /* Sun claims "int free()" not void */ +#define realloc bogon_realloc /* Sun claims "char *realloc()", not void * */ #include #undef malloc #undef free +#undef realloc #include /* UTek's doesn't #incl this */ #include #include "vx-share/ptrace.h" -- 2.30.2