]> sourceware.org Git - lvm2.git/commitdiff
Fix redundant declarations and always compile with -Wredundant-decls.
authorAlasdair Kergon <agk@redhat.com>
Fri, 9 Jul 2010 15:26:41 +0000 (15:26 +0000)
committerAlasdair Kergon <agk@redhat.com>
Fri, 9 Jul 2010 15:26:41 +0000 (15:26 +0000)
WHATS_NEW
make.tmpl.in

index 8bbe3a1e6e3802ddbed9d1ac180667b62938446a..4b7f47314150c52bcd0f2ad12b5de4c9c7a8e2ec 100644 (file)
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -1,5 +1,6 @@
 Version 2.02.71 -
 ===============================
+  Fix redundant declarations and always compile with -Wredundant-decls.
   Fix possible hang when all mirror images of a mirrored log fail.
   Do not log backtrace in valid _lv_resume() code path.
   Cleanup help strings in configure.in.
index 27d02d8c638a76ee947e087fd0789e81ed4206f0..75678d5475eff45936eddff5c74281b867f76956 100644 (file)
@@ -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@
This page took 0.055642 seconds and 5 git commands to generate.