reject: Inline putreject() into its only caller setrej()
Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
c89ba354e3
commit
8a129dee20
3 changed files with 4 additions and 11 deletions
|
@ -121,15 +121,6 @@ putrel(struct natstr *np, natid them, int relate)
|
|||
np->nat_relate[them] = relate;
|
||||
}
|
||||
|
||||
void
|
||||
putreject(struct natstr *np, natid them, int how, int what)
|
||||
{
|
||||
if (how)
|
||||
np->nat_rejects[them] |= what;
|
||||
else
|
||||
np->nat_rejects[them] &= ~what;
|
||||
}
|
||||
|
||||
int
|
||||
influx(struct natstr *np)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue