summaryrefslogtreecommitdiffstats
path: root/make.tmpl.in
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2010-07-09 15:26:41 +0000
committerAlasdair Kergon <agk@redhat.com>2010-07-09 15:26:41 +0000
commit3e404aea3a8aef79d8e8b39743f55efc8f7bca04 (patch)
tree4969546a4594d8e6efdef8933ae69f54a36c8f34 /make.tmpl.in
parent80e569104b6b0a7f3a79c8ad6a807aef8b389434 (diff)
downloadlvm2-3e404aea3a8aef79d8e8b39743f55efc8f7bca04.tar.gz
lvm2-3e404aea3a8aef79d8e8b39743f55efc8f7bca04.tar.xz
lvm2-3e404aea3a8aef79d8e8b39743f55efc8f7bca04.zip
Fix redundant declarations and always compile with -Wredundant-decls.
Diffstat (limited to 'make.tmpl.in')
-rw-r--r--make.tmpl.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/make.tmpl.in b/make.tmpl.in
index 27d02d8c..75678d54 100644
--- a/make.tmpl.in
+++ b/make.tmpl.in
@@ -107,9 +107,9 @@ INSTALL_SCRIPT = $(INSTALL) -p $(M_INSTALL_PROGRAM)
.SUFFIXES: .c .d .o .so .a .po .pot .mo .dylib
-CFLAGS += -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wmissing-noreturn -Wformat-security
+CFLAGS += -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wmissing-noreturn -Wformat-security -Wredundant-decls
-#CFLAGS += -W -Wconversion -Wpointer-arith -Wredundant-decls -Wbad-function-cast -Wcast-qual
+#CFLAGS += -W -Wconversion -Wpointer-arith -Wbad-function-cast -Wcast-qual
#CFLAGS += -pedantic -std=gnu99
CFLAGS += @COPTIMISE_FLAG@