Re: [libvirt] [PATCH v2] syntax check: update header guard check

2019-06-20 Thread Ján Tomko
On Wed, Jun 19, 2019 at 02:48:36PM -0500, Jonathon Jongsma wrote: 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 --- Changes in v2: - fix error messages when no header guard

[libvirt] [PATCH v2] syntax check: update header guard check

2019-06-19 Thread Jonathon Jongsma
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 --- Changes in v2: - fix error messages when no header guard is found (#ifndef for public headers, #pragma for internal hea