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 <[email protected]>
---

Changes in v2:
- fix error messages when no header guard is found (#ifndef for public headers, 
#pragma for
  internal headers)
- fix test for identifying public headers (omit initial '/')
- fix code spacing

build-aux/header-ifdef.pl | 41 +++++++++++++++++++++++++++++----------
1 file changed, 31 insertions(+), 10 deletions(-)

Reviewed-by: Ján Tomko <[email protected]>

Jano

Attachment: signature.asc
Description: PGP signature

--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to