OvmfPkg/AcpiPlatformDxe: fix header file warts

- 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 <ardb+tianocore@kernel.org>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Philippe Mathieu-Daudé <philmd@redhat.com>
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2122
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20210526201446.12554-7-lersek@redhat.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
This commit is contained in:
Laszlo Ersek 2021-05-26 22:14:09 +02:00 committed by mergify[bot]
parent ae4aa4a346
commit 2a85d9b07e
2 changed files with 6 additions and 6 deletions

View File

@ -1,13 +1,13 @@
/** @file
Sample ACPI Platform Driver
OVMF ACPI Platform Driver
Copyright (c) 2008 - 2012, Intel Corporation. All rights reserved.<BR>
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 <PiDxe.h>

View File

@ -7,10 +7,10 @@
**/
#ifndef __QEMU_LOADER_H__
#define __QEMU_LOADER_H__
#ifndef QEMU_LOADER_H_
#define QEMU_LOADER_H_
#include <Include/Base.h>
#include <Base.h>
#include <Library/QemuFwCfgLib.h>
//