ipfwrdr.c: remove unused argument warnings
This commit is contained in:
parent
cb3d0798aa
commit
32f1981520
|
@ -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 */
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue