diff options
author | Markus Armbruster | 2019-03-15 15:51:21 +0100 |
---|---|---|
committer | Markus Armbruster | 2019-05-13 08:58:55 +0200 |
commit | a8b991b52dcde75ab5065046653626951aac666d (patch) | |
tree | eaa9e5fcc4375961dc9db3eb84ed7a50e9b05f68 /include/sysemu/hvf.h | |
parent | Clean up header guards that don't match their file name (diff) | |
download | qemu-a8b991b52dcde75ab5065046653626951aac666d.tar.gz qemu-a8b991b52dcde75ab5065046653626951aac666d.tar.xz qemu-a8b991b52dcde75ab5065046653626951aac666d.zip |
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]
Diffstat (limited to 'include/sysemu/hvf.h')
-rw-r--r-- | include/sysemu/hvf.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/sysemu/hvf.h b/include/sysemu/hvf.h index aaa51d2c51..300bf3e9a8 100644 --- a/include/sysemu/hvf.h +++ b/include/sysemu/hvf.h @@ -9,8 +9,9 @@ */ /* header to be included in non-HVF-specific code */ -#ifndef _HVF_H -#define _HVF_H + +#ifndef HVF_H +#define HVF_H #include "qemu-common.h" #include "qemu/bitops.h" |