aboutsummaryrefslogtreecommitdiff
path: root/include/authz
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2019-03-15 15:51:20 +0100
committerMarkus Armbruster <armbru@redhat.com>2019-05-13 08:58:55 +0200
commit58ea30f5145fc8c7ebb80ee0b0c812a3a958c762 (patch)
tree7f87b21d9446843917a711a5c9501c4533465472 /include/authz
parent814167479a4c7cccc3f5d532fc234dc75ab8961c (diff)
downloadqemu-58ea30f5145fc8c7ebb80ee0b0c812a3a958c762.zip
qemu-58ea30f5145fc8c7ebb80ee0b0c812a3a958c762.tar.gz
qemu-58ea30f5145fc8c7ebb80ee0b0c812a3a958c762.tar.bz2
Clean up header guards that don't match their file name
Header guard symbols should match their file name to make guard collisions less likely. Cleaned up with scripts/clean-header-guards.pl, followed by some renaming of new guard symbols picked by the script to better ones. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20190315145123.28030-6-armbru@redhat.com> [Rebase to master: update include/hw/net/ne2000-isa.h]
Diffstat (limited to 'include/authz')
-rw-r--r--include/authz/listfile.h8
-rw-r--r--include/authz/pamacct.h7
2 files changed, 6 insertions, 9 deletions
diff --git a/include/authz/listfile.h b/include/authz/listfile.h
index 0d618c9..33b728d 100644
--- a/include/authz/listfile.h
+++ b/include/authz/listfile.h
@@ -18,8 +18,8 @@
*
*/
-#ifndef QAUTHZ_LIST_FILE_H__
-#define QAUTHZ_LIST_FILE_H__
+#ifndef QAUTHZ_LISTFILE_H
+#define QAUTHZ_LISTFILE_H
#include "authz/list.h"
#include "qapi/qapi-types-authz.h"
@@ -106,6 +106,4 @@ QAuthZListFile *qauthz_list_file_new(const char *id,
bool refresh,
Error **errp);
-
-#endif /* QAUTHZ_LIST_FILE_H__ */
-
+#endif /* QAUTHZ_LISTFILE_H */
diff --git a/include/authz/pamacct.h b/include/authz/pamacct.h
index cad5b11..f3a7ef1 100644
--- a/include/authz/pamacct.h
+++ b/include/authz/pamacct.h
@@ -18,8 +18,8 @@
*
*/
-#ifndef QAUTHZ_PAM_H__
-#define QAUTHZ_PAM_H__
+#ifndef QAUTHZ_PAMACCT_H
+#define QAUTHZ_PAMACCT_H
#include "authz/base.h"
@@ -96,5 +96,4 @@ QAuthZPAM *qauthz_pam_new(const char *id,
const char *service,
Error **errp);
-
-#endif /* QAUTHZ_PAM_H__ */
+#endif /* QAUTHZ_PAMACCT_H */