removed bzero,gettimeofday protos and added INADDR_LOOPBACK

This commit is contained in:
Jeff Hill
1999-01-28 20:16:00 +00:00
parent f039b24836
commit e0b317a544
2 changed files with 6 additions and 4 deletions

View File

@@ -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 <arpa/inet.h>
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
*/

View File

@@ -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 <arpa/inet.h>
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
*/