mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-30 09:04:07 +02:00
Remove the unnecessary include, such as PiDxe.h, PiPei.h, Base.h and Uefi.h in header file. The module should include these files before include the Protocol/Ppi/Guid/Library header files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6111 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
0b94e31981
commit
190344219a
@ -22,7 +22,6 @@ Abstract:
|
||||
#ifndef _DPC_LIB_H_
|
||||
#define _DPC_LIB_H_
|
||||
|
||||
#include <PiDxe.h>
|
||||
#include <Protocol/Dpc.h>
|
||||
|
||||
/**
|
||||
|
@ -15,7 +15,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
#ifndef _GENERIC_BDS_LIB_H_
|
||||
#define _GENERIC_BDS_LIB_H_
|
||||
|
||||
#include <PiDxe.h>
|
||||
#include <Protocol/HiiDatabase.h>
|
||||
#include <IndustryStandard/PeImage.h>
|
||||
|
||||
|
@ -15,7 +15,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
#ifndef _IP_IO_H_
|
||||
#define _IP_IO_H_
|
||||
|
||||
#include <PiDxe.h>
|
||||
#include <Protocol/Ip4.h>
|
||||
#include <Library/IpIoLib.h>
|
||||
#include <Library/NetLib.h>
|
||||
|
@ -15,7 +15,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
#ifndef _NET_LIB_H_
|
||||
#define _NET_LIB_H_
|
||||
|
||||
#include <PiDxe.h>
|
||||
#include <Library/BaseMemoryLib.h>
|
||||
#include <Library/MemoryAllocationLib.h>
|
||||
#include <Protocol/DriverBinding.h>
|
||||
|
@ -16,7 +16,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
#ifndef _PLAT_DRI_OVER_LIB_H_
|
||||
#define _PLAT_DRI_OVER_LIB_H_
|
||||
|
||||
#include <PiDxe.h>
|
||||
#include <Protocol/PlatformDriverOverride.h>
|
||||
#include <Protocol/DevicePath.h>
|
||||
#include <Protocol/DriverBinding.h>
|
||||
|
@ -16,7 +16,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
#ifndef __PLATFORM_BDS_LIB_H_
|
||||
#define __PLATFORM_BDS_LIB_H_
|
||||
|
||||
#include <PiDxe.h>
|
||||
#include <Protocol/Bds.h>
|
||||
#include <Protocol/GenericMemoryTest.h>
|
||||
|
||||
|
@ -16,8 +16,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
#ifndef _UDP4IO_H_
|
||||
#define _UDP4IO_H_
|
||||
|
||||
#include <PiDxe.h>
|
||||
|
||||
#include <Protocol/Udp4.h>
|
||||
|
||||
#include <Library/UdpIoLib.h>
|
||||
|
@ -16,7 +16,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
**/
|
||||
|
||||
|
||||
#include <Uefi.h>
|
||||
#include <PiDxe.h>
|
||||
|
||||
#include <Protocol/SimpleTextOut.h>
|
||||
#include <Protocol/OEMBadging.h>
|
||||
|
@ -22,6 +22,8 @@ Abstract:
|
||||
#ifndef _ISCSI_IMPL_H_
|
||||
#define _ISCSI_IMPL_H_
|
||||
|
||||
#include <Uefi.h>
|
||||
|
||||
#include <Library/NetLib.h>
|
||||
#include <Library/PrintLib.h>
|
||||
#include <Library/UefiRuntimeServicesTableLib.h>
|
||||
|
@ -20,6 +20,7 @@ Abstract:
|
||||
|
||||
**/
|
||||
|
||||
#include <Uefi.h>
|
||||
|
||||
#include <Library/NetLib.h>
|
||||
#include <Library/DebugLib.h>
|
||||
|
@ -20,11 +20,11 @@ Abstract:
|
||||
|
||||
**/
|
||||
|
||||
#include "MnpImpl.h"
|
||||
#include <Library/NetLib.h>
|
||||
#include <Library/BaseMemoryLib.h>
|
||||
#include <Library/BaseLib.h>
|
||||
#include <Library/MemoryAllocationLib.h>
|
||||
#include "MnpImpl.h"
|
||||
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user