Add -Wredundant-decls to compiler flags.