Fix to decide data and return type explicity

This commit is contained in:
OBATA Akio
2021-10-08 17:25:17 +09:00
parent f7327e92d6
commit 2390217a75
23 changed files with 34 additions and 21 deletions

View File

@@ -105,6 +105,7 @@ extern int chooserFd;
extern FD_TYPE WellKnownSocketsMask;
extern int WellKnownSocketsMax;
int
CreateWellKnownSockets (void)
{
struct sockaddr_in sock_addr;
@@ -154,6 +155,7 @@ CreateWellKnownSockets (void)
FD_SET (chooserFd, &WellKnownSocketsMask);
}
int
GetChooserAddr (char *addr, int *lenp)
{
struct sockaddr_in in_addr;