From 2a85d9b07ebf0e7c5fa12372a72da8bdaf452ec4 Mon Sep 17 00:00:00 2001 From: Laszlo Ersek Date: Wed, 26 May 2021 22:14:09 +0200 Subject: OvmfPkg/AcpiPlatformDxe: fix header file warts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove the leading underscores from the #include guard macro names; clean up the names in general. - Remove the useless "Include/" directory prefix from the public header pathnames. - Fix incorrect file-top comment. Cc: Ard Biesheuvel Cc: Jordan Justen Cc: Philippe Mathieu-Daudé Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2122 Signed-off-by: Laszlo Ersek Message-Id: <20210526201446.12554-7-lersek@redhat.com> Reviewed-by: Ard Biesheuvel Reviewed-by: Philippe Mathieu-Daudé --- OvmfPkg/AcpiPlatformDxe/AcpiPlatform.h | 6 +++--- OvmfPkg/AcpiPlatformDxe/QemuLoader.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'OvmfPkg/AcpiPlatformDxe') diff --git a/OvmfPkg/AcpiPlatformDxe/AcpiPlatform.h b/OvmfPkg/AcpiPlatformDxe/AcpiPlatform.h index 9597e028e4..c8dee8ab7a 100644 --- a/OvmfPkg/AcpiPlatformDxe/AcpiPlatform.h +++ b/OvmfPkg/AcpiPlatformDxe/AcpiPlatform.h @@ -1,13 +1,13 @@ /** @file - Sample ACPI Platform Driver + OVMF ACPI Platform Driver Copyright (c) 2008 - 2012, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent **/ -#ifndef _ACPI_PLATFORM_H_INCLUDED_ -#define _ACPI_PLATFORM_H_INCLUDED_ +#ifndef ACPI_PLATFORM_H_ +#define ACPI_PLATFORM_H_ #include diff --git a/OvmfPkg/AcpiPlatformDxe/QemuLoader.h b/OvmfPkg/AcpiPlatformDxe/QemuLoader.h index 70e0ebc33b..bb3978e900 100644 --- a/OvmfPkg/AcpiPlatformDxe/QemuLoader.h +++ b/OvmfPkg/AcpiPlatformDxe/QemuLoader.h @@ -7,10 +7,10 @@ **/ -#ifndef __QEMU_LOADER_H__ -#define __QEMU_LOADER_H__ +#ifndef QEMU_LOADER_H_ +#define QEMU_LOADER_H_ -#include +#include #include // -- cgit v1.2.3