]> git.proxmox.com Git - mirror_edk2.git/commitdiff
OvmfPkg/AcpiPlatformDxe: fix header file warts
authorLaszlo Ersek <lersek@redhat.com>
Wed, 26 May 2021 20:14:09 +0000 (22:14 +0200)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 4 Jun 2021 16:01:50 +0000 (16:01 +0000)
- 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>
OvmfPkg/AcpiPlatformDxe/AcpiPlatform.h
OvmfPkg/AcpiPlatformDxe/QemuLoader.h

index 9597e028e4a7e2a6836edb0d3962fa1379e355b4..c8dee8ab7a3c92f3f80659e8043f307875eefd7a 100644 (file)
@@ -1,13 +1,13 @@
 /** @file\r
-  Sample ACPI Platform Driver\r
+  OVMF ACPI Platform Driver\r
 \r
   Copyright (c) 2008 - 2012, Intel Corporation. All rights reserved.<BR>\r
   SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
-#ifndef _ACPI_PLATFORM_H_INCLUDED_\r
-#define _ACPI_PLATFORM_H_INCLUDED_\r
+#ifndef ACPI_PLATFORM_H_\r
+#define ACPI_PLATFORM_H_\r
 \r
 #include <PiDxe.h>\r
 \r
index 70e0ebc33beb32b0292e7cf818380907a4c2b578..bb3978e900ed80e8f4971d01b2583802f4480d8f 100644 (file)
@@ -7,10 +7,10 @@
 \r
 **/\r
 \r
-#ifndef __QEMU_LOADER_H__\r
-#define __QEMU_LOADER_H__\r
+#ifndef QEMU_LOADER_H_\r
+#define QEMU_LOADER_H_\r
 \r
-#include <Include/Base.h>\r
+#include <Base.h>\r
 #include <Library/QemuFwCfgLib.h>\r
 \r
 //\r