public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [Patch] MdePkg/Include: Add include file to FileHandleLib.h
@ 2017-01-09  4:47 Michael Kinney
  2017-01-09  5:17 ` Gao, Liming
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Kinney @ 2017-01-09  4:47 UTC (permalink / raw)
  To: edk2-devel

FileHandleLib.h uses the data type EFI_FILE_INFO,
so this library class should include <Guid/FileInfo.h>.

Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael Kinney <michael.d.kinney@intel.com>
---
 MdePkg/Include/Library/FileHandleLib.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/MdePkg/Include/Library/FileHandleLib.h b/MdePkg/Include/Library/FileHandleLib.h
index e94f83e..f3423d8 100644
--- a/MdePkg/Include/Library/FileHandleLib.h
+++ b/MdePkg/Include/Library/FileHandleLib.h
@@ -1,7 +1,7 @@
 /** @file
   Provides interface to EFI_FILE_HANDLE functionality.
 
-  Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.<BR>
+  Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.<BR>
   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
@@ -16,6 +16,7 @@
 #define _FILE_HANDLE_LIBRARY_HEADER_
 
 #include <Protocol/SimpleFileSystem.h>
+#include <Guid/FileInfo.h>
 
 /// The tag for use in identifying UNICODE files.
 /// If the file is UNICODE, the first 16 bits of the file will equal this value.
-- 
2.6.3.windows.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Patch] MdePkg/Include: Add include file to FileHandleLib.h
  2017-01-09  4:47 [Patch] MdePkg/Include: Add include file to FileHandleLib.h Michael Kinney
@ 2017-01-09  5:17 ` Gao, Liming
  0 siblings, 0 replies; 2+ messages in thread
From: Gao, Liming @ 2017-01-09  5:17 UTC (permalink / raw)
  To: Kinney, Michael D, edk2-devel@lists.01.org

Reviewed-by: Liming Gao <liming.gao@intel.com>

>-----Original Message-----
>From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of
>Michael Kinney
>Sent: Monday, January 09, 2017 12:48 PM
>To: edk2-devel@lists.01.org
>Subject: [edk2] [Patch] MdePkg/Include: Add include file to FileHandleLib.h
>
>FileHandleLib.h uses the data type EFI_FILE_INFO,
>so this library class should include <Guid/FileInfo.h>.
>
>Liming Gao <liming.gao@intel.com>
>Contributed-under: TianoCore Contribution Agreement 1.0
>Signed-off-by: Michael Kinney <michael.d.kinney@intel.com>
>---
> MdePkg/Include/Library/FileHandleLib.h | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
>diff --git a/MdePkg/Include/Library/FileHandleLib.h
>b/MdePkg/Include/Library/FileHandleLib.h
>index e94f83e..f3423d8 100644
>--- a/MdePkg/Include/Library/FileHandleLib.h
>+++ b/MdePkg/Include/Library/FileHandleLib.h
>@@ -1,7 +1,7 @@
> /** @file
>   Provides interface to EFI_FILE_HANDLE functionality.
>
>-  Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.<BR>
>+  Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.<BR>
>   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
>@@ -16,6 +16,7 @@
> #define _FILE_HANDLE_LIBRARY_HEADER_
>
> #include <Protocol/SimpleFileSystem.h>
>+#include <Guid/FileInfo.h>
>
> /// The tag for use in identifying UNICODE files.
> /// If the file is UNICODE, the first 16 bits of the file will equal this value.
>--
>2.6.3.windows.1
>
>_______________________________________________
>edk2-devel mailing list
>edk2-devel@lists.01.org
>https://lists.01.org/mailman/listinfo/edk2-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-01-09  5:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-09  4:47 [Patch] MdePkg/Include: Add include file to FileHandleLib.h Michael Kinney
2017-01-09  5:17 ` Gao, Liming

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox