build: compile with -Wno-duplicate-decl-specifier
authorThomas Haller <thaller@redhat.com>
Wed, 9 Mar 2016 10:17:36 +0000 (11:17 +0100)
committerThomas Haller <thaller@redhat.com>
Wed, 9 Mar 2016 10:45:03 +0000 (11:45 +0100)
commitf7941ceba3805439e2165526b51680d7a97601a9
tree5b4dd21465dffaf6626cfef6eca69b785950b27a
parentc885fd55e85f4d7f6d5cd425385d57a17f4ab1aa
build: compile with -Wno-duplicate-decl-specifier

Duplicated const specifiers are allowed by C99 and can easily
happen in macros. Also, systemd's interal code will use them.

Disable this warning, it doesn't seem useful.
m4/compiler_warnings.m4
src/tests/test-general.c