]> git.ipfire.org Git - thirdparty/libvirt.git/commit
syntax check: update header guard check
authorJonathon Jongsma <jjongsma@redhat.com>
Wed, 19 Jun 2019 19:48:36 +0000 (14:48 -0500)
committerJán Tomko <jtomko@redhat.com>
Thu, 20 Jun 2019 07:01:07 +0000 (09:01 +0200)
commit34c9a5fc06271fd898072a69c801927211e10534
tree4648ef5cce6b9936df9440c21dfdfaced2b6f566
parent63acb7bfd56f117309e4fcaf438639d4d7bc7dcb
syntax check: update header guard check

Internal headers should use #pragma once instead of the standard #ifndef
guard. Public headers still require the existing header guard.

Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Ján Tomko <jtomko@redhat.com>
build-aux/header-ifdef.pl