From: Stephen Hemminger Date: Wed, 20 Jun 2007 17:55:18 +0000 (-0700) Subject: fix build warnings X-Git-Tag: v2.6.23-071016~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6560dbb89b08c8821b9fa5affa7a249952900a39;p=thirdparty%2Fiproute2.git fix build warnings Fix problems from recent if.h related changes. Signed-off-by: Stephen Hemminger --- diff --git a/include/iptables_common.h b/include/iptables_common.h index 6f7e4295e..9099667ff 100644 --- a/include/iptables_common.h +++ b/include/iptables_common.h @@ -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 *, diff --git a/include/linux/netfilter_ipv4/ip_tables.h b/include/linux/netfilter_ipv4/ip_tables.h index b83623321..00ab15189 100644 --- a/include/linux/netfilter_ipv4/ip_tables.h +++ b/include/linux/netfilter_ipv4/ip_tables.h @@ -15,6 +15,7 @@ #ifndef _IPTABLES_H #define _IPTABLES_H +#include #include #include