]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
build-sys: add -Wredundant-decls
authorKarel Zak <kzak@redhat.com>
Mon, 9 Jul 2012 14:53:13 +0000 (16:53 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 9 Jul 2012 14:53:13 +0000 (16:53 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
configure.ac

index 198366a3d4e5d53d23742ad48d6c3d830ca0bf21..9f32b824836e16f8d4f0d3699d14bef9d85cdb18 100644 (file)
@@ -94,6 +94,7 @@ UL_WARN_ADD([-Wmissing-parameter-type])
 UL_WARN_ADD([-Wunused-result])
 UL_WARN_ADD([-Wunused-but-set-parameter])
 UL_WARN_ADD([-Wunused-but-set-variable])
+UL_WARN_ADD([-Wredundant-decls])
 AC_SUBST([WARN_CFLAGS])
 
 dnl libtool-2