From 017ba5731f0971cb04d3536d80316f8e716f9a6b Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Wed, 25 Jun 1997 06:20:17 +0000 Subject: [PATCH] added missing prototype --- src/include/os/sun4/osiSock.h | 1 + src/libCom/osi/os/sun4/osdSock.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/include/os/sun4/osiSock.h b/src/include/os/sun4/osiSock.h index 474364008..75d89c996 100644 --- a/src/include/os/sun4/osiSock.h +++ b/src/include/os/sun4/osiSock.h @@ -78,6 +78,7 @@ int gethostname (char *name, int namelen); # define h_addr h_addr_list[0] /* address, for backward compatiblity */ }; struct hostent *gethostbyaddr(char *addr, int len, int type); + struct hostent *gethostnyname(const char *name); #endif /* !defined(__SUNPRO_CC) */ diff --git a/src/libCom/osi/os/sun4/osdSock.h b/src/libCom/osi/os/sun4/osdSock.h index 474364008..75d89c996 100644 --- a/src/libCom/osi/os/sun4/osdSock.h +++ b/src/libCom/osi/os/sun4/osdSock.h @@ -78,6 +78,7 @@ int gethostname (char *name, int namelen); # define h_addr h_addr_list[0] /* address, for backward compatiblity */ }; struct hostent *gethostbyaddr(char *addr, int len, int type); + struct hostent *gethostnyname(const char *name); #endif /* !defined(__SUNPRO_CC) */