From f734a10ab104f1072f94cab66a5489e0fd8fce8a Mon Sep 17 00:00:00 2001 From: AJFISH Date: Fri, 29 Jun 2007 23:22:13 +0000 Subject: Removed CommonHeader.h generated file from the MdePkg. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2922 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Library/UefiLib/CommonHeader.h | 48 -------------------------------- MdePkg/Library/UefiLib/Console.c | 2 +- MdePkg/Library/UefiLib/UefiDriverModel.c | 2 +- MdePkg/Library/UefiLib/UefiLib.c | 2 +- MdePkg/Library/UefiLib/UefiLib.inf | 2 +- MdePkg/Library/UefiLib/UefiLibInternal.h | 35 +++++++++++++++++++++++ MdePkg/Library/UefiLib/UefiLibPrint.c | 2 +- MdePkg/Library/UefiLib/UefiNotTiano.c | 2 +- 8 files changed, 41 insertions(+), 54 deletions(-) delete mode 100644 MdePkg/Library/UefiLib/CommonHeader.h create mode 100644 MdePkg/Library/UefiLib/UefiLibInternal.h (limited to 'MdePkg/Library/UefiLib') diff --git a/MdePkg/Library/UefiLib/CommonHeader.h b/MdePkg/Library/UefiLib/CommonHeader.h deleted file mode 100644 index ad028a769a..0000000000 --- a/MdePkg/Library/UefiLib/CommonHeader.h +++ /dev/null @@ -1,48 +0,0 @@ -/**@file - Common header file shared by all source files. - - This file includes package header files, library classes and protocol, PPI & GUID definitions. - - Copyright (c) 2007, Intel Corporation. - All rights reserved. This program and the accompanying materials - are licensed and made available under the terms and conditions of the BSD License - which accompanies this distribution. The full text of the license may be found at - http://opensource.org/licenses/bsd-license.php - THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, - WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. -**/ - -#ifndef __COMMON_HEADER_H_ -#define __COMMON_HEADER_H_ - - -// -// The package level header files this module uses -// -#include -// -// The protocols, PPI and GUID defintions for this module -// -#include -#include -#include -#include -#include -#include - - -#include -#include -// -// The Library classes this module consumes -// -#include -#include -#include -#include -#include -#include -#include -#include - -#endif diff --git a/MdePkg/Library/UefiLib/Console.c b/MdePkg/Library/UefiLib/Console.c index b82af08ffc..b549e7e018 100644 --- a/MdePkg/Library/UefiLib/Console.c +++ b/MdePkg/Library/UefiLib/Console.c @@ -19,7 +19,7 @@ // // Include common header file for this module. // -#include "CommonHeader.h" +#include "UefiLibInternal.h" typedef struct { CHAR16 WChar; diff --git a/MdePkg/Library/UefiLib/UefiDriverModel.c b/MdePkg/Library/UefiLib/UefiDriverModel.c index 582ad6acdd..0a72d263ad 100644 --- a/MdePkg/Library/UefiLib/UefiDriverModel.c +++ b/MdePkg/Library/UefiLib/UefiDriverModel.c @@ -16,7 +16,7 @@ // // Include common header file for this module. // -#include "CommonHeader.h" +#include "UefiLibInternal.h" /** Intialize a driver by installing the Driver Binding Protocol onto the diff --git a/MdePkg/Library/UefiLib/UefiLib.c b/MdePkg/Library/UefiLib/UefiLib.c index f4eb3eb43b..a2d93d5f89 100644 --- a/MdePkg/Library/UefiLib/UefiLib.c +++ b/MdePkg/Library/UefiLib/UefiLib.c @@ -17,7 +17,7 @@ // // Include common header file for this module. // -#include "CommonHeader.h" +#include "UefiLibInternal.h" /** Compare whether two names of languages are identical. diff --git a/MdePkg/Library/UefiLib/UefiLib.inf b/MdePkg/Library/UefiLib/UefiLib.inf index 6f6d034d52..732b73b9d1 100644 --- a/MdePkg/Library/UefiLib/UefiLib.inf +++ b/MdePkg/Library/UefiLib/UefiLib.inf @@ -51,7 +51,7 @@ UefiDriverModel.c Console.c UefiLib.c - CommonHeader.h + UefiLibInternal.h ################################################################################ diff --git a/MdePkg/Library/UefiLib/UefiLibInternal.h b/MdePkg/Library/UefiLib/UefiLibInternal.h new file mode 100644 index 0000000000..82ba4c439e --- /dev/null +++ b/MdePkg/Library/UefiLib/UefiLibInternal.h @@ -0,0 +1,35 @@ +/**@file + Internal include file for UefiLib. + + Copyright (c) 2007, Intel Corporation.
+ All rights reserved. This program and the accompanying materials + are licensed and made available under the terms and conditions of the BSD License + which accompanies this distribution. The full text of the license may be found at + http://opensource.org/licenses/bsd-license.php + THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, + WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +**/ + +#ifndef __UEFI_LIB_INTERNAL_H_ +#define __UEFI_LIB_INTERNAL_H_ + + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif diff --git a/MdePkg/Library/UefiLib/UefiLibPrint.c b/MdePkg/Library/UefiLib/UefiLibPrint.c index f4453e4cd8..de3e68ea2f 100644 --- a/MdePkg/Library/UefiLib/UefiLibPrint.c +++ b/MdePkg/Library/UefiLib/UefiLibPrint.c @@ -16,7 +16,7 @@ // // Include common header file for this module. // -#include "CommonHeader.h" +#include "UefiLibInternal.h" /** Internal function which prints a formatted Unicode string to the console output device diff --git a/MdePkg/Library/UefiLib/UefiNotTiano.c b/MdePkg/Library/UefiLib/UefiNotTiano.c index 9eba9ddf48..f51a16cb7e 100644 --- a/MdePkg/Library/UefiLib/UefiNotTiano.c +++ b/MdePkg/Library/UefiLib/UefiNotTiano.c @@ -21,7 +21,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. // // Include common header file for this module. // -#include "CommonHeader.h" +#include "UefiLibInternal.h" /** An empty function to pass error checking of CreateEventEx (). -- cgit v1.2.3