from p3: remote-vx.c: hide name realloc for inclusion of rpc/rpc.h
authorKen Raeburn <raeburn@cygnus>
Thu, 10 Sep 1992 19:56:45 +0000 (19:56 +0000)
committerKen Raeburn <raeburn@cygnus>
Thu, 10 Sep 1992 19:56:45 +0000 (19:56 +0000)
gdb/remote-vx.c

index b9a74fe..635ffe3 100644 (file)
@@ -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"