diff -up arptables_jf-0.0.8/arptables.c.warnings arptables_jf-0.0.8/arptables.c
--- arptables_jf-0.0.8/arptables.c.warnings 2004-01-23 21:22:27.000000000 +0100
+++ arptables_jf-0.0.8/arptables.c 2012-05-18 16:34:33.533157499 +0200
@@ -505,7 +505,7 @@ cmd2char(int option)
}
static void
-add_command(int *cmd, const int newcmd, const int othercmds, int invert)
+add_command(unsigned int *cmd, const int newcmd, const int othercmds, int invert)
{
if (invert)
exit_error(PARAMETER_PROBLEM, "unexpected ! flag");
@@ -1329,7 +1329,6 @@ print_firewall(const struct arpt_entry *
{
struct arptables_target *target = NULL;
const struct arpt_entry_target *t;
- u_int8_t flags;
char buf[BUFSIZ];
unsigned u,v;
@@ -1339,7 +1338,6 @@ print_firewall(const struct arpt_entry *
target = find_target(ARPT_STANDARD_TARGET, LOAD_MUST_SUCCEED);
t = arpt_get_target((struct arpt_entry *)fw);
- flags = fw->arp.flags;
if (format & FMT_LINENUMBERS)
printf(FMT("%-4u ", "%u "), num+1);
diff -up arptables_jf-0.0.8/libarptc.c.warnings arptables_jf-0.0.8/libarptc.c
--- arptables_jf-0.0.8/libarptc.c.warnings 2012-05-18 16:34:33.000000000 +0200
+++ arptables_jf-0.0.8/libarptc.c 2012-05-18 16:35:22.035819406 +0200
@@ -495,7 +495,7 @@ TC_INIT(const char *tablename)
TC_HANDLE_T h;
STRUCT_GETINFO info;
unsigned int i;
- int tmp;
+ socklen_t tmp;
socklen_t s;
iptc_fn = TC_INIT;
diff -up arptables_jf-0.0.8/netfilter_arp.h.warnings arptables_jf-0.0.8/netfilter_arp.h
--- arptables_jf-0.0.8/netfilter_arp.h.warnings 2012-05-18 16:34:33.527157541 +0200
+++ arptables_jf-0.0.8/netfilter_arp.h 2012-05-18 16:34:33.533157499 +0200
@@ -5,7 +5,6 @@
* (C)2002 Rusty Russell IBM -- This code is GPL.
*/
-#include <linux/config.h>
#include <linux/netfilter.h>
/* There is no PF_ARP. */