from p3: remote-vx.c: hide name realloc for inclusion of rpc/rpc.h

This commit is contained in:
Ken Raeburn 1992-09-10 19:56:45 +00:00
parent 73386fffdb
commit b67903acf6

View File

@ -37,9 +37,11 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <sys/socket.h> #include <sys/socket.h>
#define malloc bogon_malloc /* Sun claims "char *malloc()" not void * */ #define malloc bogon_malloc /* Sun claims "char *malloc()" not void * */
#define free bogon_free /* Sun claims "int free()" 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> #include <rpc/rpc.h>
#undef malloc #undef malloc
#undef free #undef free
#undef realloc
#include <sys/time.h> /* UTek's <rpc/rpc.h> doesn't #incl this */ #include <sys/time.h> /* UTek's <rpc/rpc.h> doesn't #incl this */
#include <netdb.h> #include <netdb.h>
#include "vx-share/ptrace.h" #include "vx-share/ptrace.h"