Make _FindLinkIn() static and only define GetDestPort when

NO_FW_PUNCH isn't defined.
This commit is contained in:
Brian Somers 2000-03-19 09:11:05 +00:00
parent 081d19aecd
commit 9da582e318
2 changed files with 8 additions and 4 deletions

View File

@ -1101,7 +1101,7 @@ FindLinkOut(struct in_addr src_addr,
}
struct alias_link *
static struct alias_link *
_FindLinkIn(struct in_addr dst_addr,
struct in_addr alias_addr,
u_short dst_port,
@ -1652,11 +1652,13 @@ GetAliasPort(struct alias_link *link)
return(link->alias_port);
}
u_short
#ifndef NO_FW_PUNCH
static u_short
GetDestPort(struct alias_link *link)
{
return(link->dst_port);
}
#endif
void
SetAckModified(struct alias_link *link)

View File

@ -1101,7 +1101,7 @@ FindLinkOut(struct in_addr src_addr,
}
struct alias_link *
static struct alias_link *
_FindLinkIn(struct in_addr dst_addr,
struct in_addr alias_addr,
u_short dst_port,
@ -1652,11 +1652,13 @@ GetAliasPort(struct alias_link *link)
return(link->alias_port);
}
u_short
#ifndef NO_FW_PUNCH
static u_short
GetDestPort(struct alias_link *link)
{
return(link->dst_port);
}
#endif
void
SetAckModified(struct alias_link *link)