diff options
author | Markus Armbruster <armbru@redhat.com> | 2019-03-15 15:51:21 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2019-05-13 08:58:55 +0200 |
commit | a8b991b52dcde75ab5065046653626951aac666d (patch) | |
tree | eaa9e5fcc4375961dc9db3eb84ed7a50e9b05f68 /target/i386/hvf/x86_mmu.h | |
parent | 58ea30f5145fc8c7ebb80ee0b0c812a3a958c762 (diff) | |
download | qemu-a8b991b52dcde75ab5065046653626951aac666d.zip qemu-a8b991b52dcde75ab5065046653626951aac666d.tar.gz qemu-a8b991b52dcde75ab5065046653626951aac666d.tar.bz2 |
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 'target/i386/hvf/x86_mmu.h')
-rw-r--r-- | target/i386/hvf/x86_mmu.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/target/i386/hvf/x86_mmu.h b/target/i386/hvf/x86_mmu.h index 0bd1acc..cd6e137 100644 --- a/target/i386/hvf/x86_mmu.h +++ b/target/i386/hvf/x86_mmu.h @@ -15,8 +15,9 @@ * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, see <http://www.gnu.org/licenses/>. */ -#ifndef __X86_MMU_H__ -#define __X86_MMU_H__ + +#ifndef X86_MMU_H +#define X86_MMU_H #define PT_PRESENT (1 << 0) #define PT_WRITE (1 << 1) @@ -40,4 +41,4 @@ bool mmu_gva_to_gpa(struct CPUState *cpu, target_ulong gva, uint64_t *gpa); void vmx_write_mem(struct CPUState *cpu, target_ulong gva, void *data, int bytes); void vmx_read_mem(struct CPUState *cpu, void *data, target_ulong gva, int bytes); -#endif /* __X86_MMU_H__ */ +#endif /* X86_MMU_H */ |