From e0b317a544ae6daf2a6d5d718c742b0824cbde21 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Thu, 28 Jan 1999 20:16:00 +0000 Subject: [PATCH] removed bzero,gettimeofday protos and added INADDR_LOOPBACK --- src/include/os/vms/osiSock.h | 5 +++-- src/libCom/osi/os/VMS/osiSock.h | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/include/os/vms/osiSock.h b/src/include/os/vms/osiSock.h index b4a64b874..865f138ea 100644 --- a/src/include/os/vms/osiSock.h +++ b/src/include/os/vms/osiSock.h @@ -75,10 +75,8 @@ int socket (int domain, int type, int protocol); #endif /* defined(MULTINET) && defined(MULTINET_NO_PROTOTYPES) */ -void bzero (char *b, int length); #ifdef MULTINET # include - int gettimeofday (struct timeval *tp, ...); #else char * inet_ntoa (struct in_addr in); unsigned long inet_addr (const char *); @@ -102,6 +100,9 @@ struct hostent *gethostbyaddr(char *addr, int len, int type); typedef int SOCKET; #define INVALID_SOCKET (-1) +#define INADDR_LOOPBACK ((u_long)0x7f000001) + + /* * (the VAXC runtime lib has its own close */ diff --git a/src/libCom/osi/os/VMS/osiSock.h b/src/libCom/osi/os/VMS/osiSock.h index b4a64b874..865f138ea 100644 --- a/src/libCom/osi/os/VMS/osiSock.h +++ b/src/libCom/osi/os/VMS/osiSock.h @@ -75,10 +75,8 @@ int socket (int domain, int type, int protocol); #endif /* defined(MULTINET) && defined(MULTINET_NO_PROTOTYPES) */ -void bzero (char *b, int length); #ifdef MULTINET # include - int gettimeofday (struct timeval *tp, ...); #else char * inet_ntoa (struct in_addr in); unsigned long inet_addr (const char *); @@ -102,6 +100,9 @@ struct hostent *gethostbyaddr(char *addr, int len, int type); typedef int SOCKET; #define INVALID_SOCKET (-1) +#define INADDR_LOOPBACK ((u_long)0x7f000001) + + /* * (the VAXC runtime lib has its own close */