X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=comstack%2Ftcpip.c;h=effa27b22e6b9c5c5af23c0ca88ed9c1a57f039e;hb=657fb99115b87a5244e9a33bbe4ca3d9d18849c4;hp=6c684adc74d90f421786cd668ee44790c3945ccd;hpb=832b2543074a15413097abfc0d9b7aca2c301b68;p=yaz-moved-to-github.git diff --git a/comstack/tcpip.c b/comstack/tcpip.c index 6c684ad..effa27b 100644 --- a/comstack/tcpip.c +++ b/comstack/tcpip.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: tcpip.c,v $ - * Revision 1.2 1995-06-15 12:30:06 quinn + * Revision 1.3 1995-09-27 15:02:45 quinn + * Modified function heads & prototypes. + * + * Revision 1.2 1995/06/15 12:30:06 quinn * Added @ as hostname alias for INADDR ANY. * * Revision 1.1 1995/06/14 09:58:20 quinn @@ -115,7 +118,7 @@ typedef struct tcpip_state int towrite; /* to verify against user input */ } tcpip_state; -COMSTACK tcpip_type(int blocking, int protocol) +COMSTACK MDF tcpip_type(int blocking, int protocol) { COMSTACK p; struct protoent *proto; @@ -162,7 +165,7 @@ COMSTACK tcpip_type(int blocking, int protocol) return p; } -struct sockaddr_in *tcpip_strtoaddr(const char *str) +struct sockaddr_in MDF *tcpip_strtoaddr(const char *str) { static struct sockaddr_in add; struct hostent *hp;