]> git.ipfire.org Git - thirdparty/systemd.git/commit
_sd-common.h: avoid parsing errors with Coverity
authorKamil Dudka <kdudka@redhat.com>
Wed, 5 Aug 2020 21:53:40 +0000 (23:53 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 6 Aug 2020 14:26:57 +0000 (16:26 +0200)
commit4191b3282afbca9f1ef333f91bb6566c374da1fe
tree61d13ce92417cf096de0d36ac47c8ca9db023c4c
parentfc733bed3b98621d55bbb395c6f9588d50d259ad
_sd-common.h: avoid parsing errors with Coverity

The commit 1070d271fa8fa553d57dd5f74dd1e3f60732d0b9 which was supposed
too fix this does not seem to take effect any more.  We get again 34%
compilation success rate while scanning systemd itself.  Moreover, the
installed header file breaks compilation of programs that include it:

"/usr/include/systemd/_sd-common.h", line 23: error #35: #error directive: "Do
          not include _sd-common.h directly; it is a private header."
  #  error "Do not include _sd-common.h directly; it is a private header."
     ^
src/systemd/_sd-common.h