]> git.proxmox.com Git - mirror_iproute2.git/commitdiff
fix build warnings
authorStephen Hemminger <shemminger@linux-foundation.org>
Wed, 20 Jun 2007 17:55:18 +0000 (10:55 -0700)
committerStephen Hemminger <shemminger@linux-foundation.org>
Wed, 20 Jun 2007 17:55:18 +0000 (10:55 -0700)
Fix problems from recent if.h related changes.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
include/iptables_common.h
include/linux/netfilter_ipv4/ip_tables.h

index 6f7e4295ea8c9820599a3564344ad2566baaf6f7..9099667ffa6d32a572764f3a1acab287853fd1b8 100644 (file)
@@ -12,7 +12,7 @@ enum exittype {
 /* this is a special 64bit data type that is 8-byte aligned */
 #define aligned_u64 unsigned long long __attribute__((aligned(8)))
 
-extern void exit_printhelp() __attribute__((noreturn));
+extern void exit_printhelp(void) __attribute__((noreturn));
 extern void exit_tryhelp(int) __attribute__((noreturn));
 int check_inverse(const char option[], int *invert, int *optind, int argc);
 extern int string_to_number(const char *, 
index b83623321f64622300713da758d703126cc8a969..00ab151896463bf8287b6ffd32352596fc9abc14 100644 (file)
@@ -15,6 +15,7 @@
 #ifndef _IPTABLES_H
 #define _IPTABLES_H
 
+#include <linux/if.h>
 #include <linux/netfilter_ipv4.h>
 
 #include <linux/netfilter/x_tables.h>