aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-vx.c
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1992-09-10 19:56:45 +0000
committerKen Raeburn <raeburn@cygnus>1992-09-10 19:56:45 +0000
commitb67903acf69c7a0746ac4a8daab7e51a48dbd5a1 (patch)
treed4ae294a722271d5e76b6f2014fcd60520a80920 /gdb/remote-vx.c
parent73386fffdb607d5c1ca7a0c850d357652b667a00 (diff)
downloadgdb-b67903acf69c7a0746ac4a8daab7e51a48dbd5a1.zip
gdb-b67903acf69c7a0746ac4a8daab7e51a48dbd5a1.tar.gz
gdb-b67903acf69c7a0746ac4a8daab7e51a48dbd5a1.tar.bz2
from p3: remote-vx.c: hide name realloc for inclusion of rpc/rpc.h
Diffstat (limited to 'gdb/remote-vx.c')
-rw-r--r--gdb/remote-vx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/remote-vx.c b/gdb/remote-vx.c
index b9a74fe..635ffe3 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 <sys/socket.h>
#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 <rpc/rpc.h>
#undef malloc
#undef free
+#undef realloc
#include <sys/time.h> /* UTek's <rpc/rpc.h> doesn't #incl this */
#include <netdb.h>
#include "vx-share/ptrace.h"