diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2008-02-11 00:54:00 +0100 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2008-04-13 07:17:58 +0200 |
commit | 33690a1aec0b6309ff90066ca56285b6e43013f2 (patch) | |
tree | 803dff9c5fceb2f5f2bd8b450d62f3572c645baa /configure.ac | |
parent | 1a756e948d66ca17f088411c175858cae19bfd66 (diff) |
Fix all remaining warnings (missing declarations, missing prototypes)
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index 87fca6cf..c816b2e1 100644 --- a/configure.ac +++ b/configure.ac @@ -41,13 +41,9 @@ regular_CFLAGS="-D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 \ -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes \ -Winline -pipe -DIPTABLES_VERSION=\\\"$PACKAGE_VERSION\\\" \ -DIPT_LIB_DIR=\\\"\${iptdir}\\\" -DIP6T_LIB_DIR=\\\"\${iptdir}\\\""; +regular_CFLAGS="$regular_CFLAGS -DXTABLES_INTERNAL" kinclude_CFLAGS="-I\"$kbuilddir/include\" -I\"$ksourcedir/include\""; -# Remove workarounds soon -regular_CFLAGS="$regular_CFLAGS -Wno-aggregate-return \ - -Wno-missing-declarations -Wno-missing-prototypes \ - -Wno-unused-parameter" - AC_SUBST([regular_CFLAGS kinclude_CFLAGS]) AC_SUBST([kbuilddir]) AC_SUBST([ksourcedir]) |