From 6560dbb89b08c8821b9fa5affa7a249952900a39 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 20 Jun 2007 10:55:18 -0700 Subject: [PATCH] fix build warnings Fix problems from recent if.h related changes. Signed-off-by: Stephen Hemminger --- include/iptables_common.h | 2 +- include/linux/netfilter_ipv4/ip_tables.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/iptables_common.h b/include/iptables_common.h index 6f7e4295..9099667f 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 b8362332..00ab1518 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