ipfwrdr.c: remove unused argument warnings

This commit is contained in:
Thomas Bernard 2015-09-10 16:01:26 +02:00
parent cb3d0798aa
commit 32f1981520
1 changed files with 11 additions and 0 deletions

View File

@ -9,6 +9,7 @@
*/
#include "../config.h"
#include "../macros.h"
#include <sys/param.h>
#include <sys/types.h>
@ -327,6 +328,13 @@ int add_filter_rule2(
int proto,
const char * desc)
{
UNUSED(ifname);
UNUSED(rhost);
UNUSED(iaddr);
UNUSED(eport);
UNUSED(iport);
UNUSED(proto);
UNUSED(desc);
return 0; /* nothing to do, always success */
}
@ -335,6 +343,9 @@ int delete_filter_rule(
unsigned short eport,
int proto)
{
UNUSED(ifname);
UNUSED(eport);
UNUSED(proto);
return 0; /* nothing to do, always success */
}