Clean up ill-advised or unusual header guards

Leading underscores are ill-advised because such identifiers are
reserved.  Trailing underscores are merely ugly.  Strip both.

Our header guards commonly end in _H.  Normalize the exceptions.

Done with scripts/clean-header-guards.pl.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190315145123.28030-7-armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
[Changes to slirp/ dropped, as we're about to spin it off]
This commit is contained in:
Markus Armbruster 2019-03-15 15:51:21 +01:00
parent 58ea30f514
commit a8b991b52d
38 changed files with 109 additions and 100 deletions

View file

@ -18,8 +18,8 @@
*
*/
#ifndef QAUTHZ_BASE_H__
#define QAUTHZ_BASE_H__
#ifndef QAUTHZ_BASE_H
#define QAUTHZ_BASE_H
#include "qemu-common.h"
#include "qapi/error.h"
@ -108,5 +108,4 @@ bool qauthz_is_allowed_by_id(const char *authzid,
const char *identity,
Error **errp);
#endif /* QAUTHZ_BASE_H__ */
#endif /* QAUTHZ_BASE_H */