iproute2/include
Vijay Subramanian 9235195666 Fix compilation error of m_ipt.c with -Werror enabled
Commit (5a650703d4 Makefile: make warnings into
errors ) causes the following build error.

gcc -Wall -Wstrict-prototypes -Werror -Wmissing-prototypes
-Wmissing-declarations -Wold-style-definition -O2 -I../include
-DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib\" -DCONFDIR=\"/etc/iproute2\"
-D_GNU_SOURCE -DCONFIG_GACT -DCONFIG_GACT_PROB -DIPT_LIB_DIR=\"/lib/xtables\"
-DYY_NO_INPUT   -c -o m_ipt.o m_ipt.c
cc1: warnings being treated as errors
m_ipt.c:72: error: no previous prototype for 'xtables_register_target'
m_ipt.c:361: error: no previous prototype for 'build_st'
make[1]: *** [m_ipt.o] Error 1

This is fixed by adding the prototype in the header include/iptables.h

I am not sure if this is due to something wrong on my build system but I am
using current glibc 2.17.

Signed-off-by: Vijay Subramanian <subramanian.vijay@gmail.com>
2013-02-26 17:35:26 -08:00
..
libiptc iproute2: Support IFF_LOWER_UP and IFF_DORMANT 2007-06-19 16:40:40 -07:00
linux bridge: update kernel headers 2012-12-20 08:24:05 -08:00
netinet ss: report ecnseen 2011-11-23 14:51:54 -08:00
SNAPSHOT.h v3.8.0 2013-02-21 08:41:20 -08:00
dlfcn.h support static-only systems 2009-11-10 10:44:20 -08:00
ip6tables.h Remove trailing whitespace 2006-12-05 10:10:22 -08:00
iptables.h Fix compilation error of m_ipt.c with -Werror enabled 2013-02-26 17:35:26 -08:00
iptables_common.h fix build warnings 2007-06-20 10:55:18 -07:00
libgenl.h iproute2: GENL: merge GENL_REQUEST and GENL_INITIALIZER 2012-09-17 15:46:45 -07:00
libnetlink.h include needed files 2012-12-23 11:49:06 -08:00
ll_map.h iproute2: Add ll_index_to_addr function 2009-12-01 15:54:16 -08:00
rt_names.h lib: make string arguments const 2013-02-12 11:39:07 -08:00
rtm_map.h (Logical change 1.3) 2004-04-15 20:56:59 +00:00
utils.h include needed files 2012-12-23 11:49:06 -08:00
xt-internal.h Breakage noticed when debian upgraded to xtables (iptables > 1.4.1) 2009-02-19 09:02:13 -08:00