use SOCKERRSTR macro

This commit is contained in:
Jeff Hill
1998-02-05 22:06:03 +00:00
parent 6957237fa1
commit ee812ff899

View File

@@ -78,7 +78,7 @@ int local_addr(int s, struct sockaddr_in *plcladdr)
if (status < 0 || ifconf.ifc_len == 0) {
ca_printf(
"CAC: ioctl failed because \"%s\"\n",
strerror(SOCKERRNO));
SOCKERRSTR);
ifconf.ifc_len = 0;
}
@@ -184,8 +184,8 @@ int local_addr (int s, struct sockaddr_in *plcladdr)
* LOCK should be applied here for (pList)
* (this is also called from the server)
*/
void caDiscoverInterfaces(ELLLIST *pList, int socket, unsigned short port,
struct in_addr matchAddr)
void epicsShareAPI caDiscoverInterfaces
(ELLLIST *pList, int socket, unsigned short port, struct in_addr matchAddr)
{
struct sockaddr_in localAddr;
struct sockaddr_in *pInetAddr;