summaryrefslogtreecommitdiff
path: root/StdLib
diff options
context:
space:
mode:
authorDaryl McDaniel <daryl.mcdaniel@intel.com>2013-12-10 21:42:59 +0000
committerdarylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524>2013-12-10 21:42:59 +0000
commit6d16cca5766396f048432bea57a0ad03a3c3d49d (patch)
tree27c76eca1f26c09a9cc348cb6f3d22577e645b99 /StdLib
parent19a4497259a24d0b9838c7e79c9ec4f5baf9828e (diff)
downloadedk2-platforms-6d16cca5766396f048432bea57a0ad03a3c3d49d.tar.xz
StdLib: Remove an unnecessary dependency from LibWchar.
LibWchar is now a standalone library which can be used independent of the rest of StdLib. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Daryl McDaniel <daryl.mcdaniel@intel.com> Reviewed-by: Matthew Stanbro <Matthew.A.Stanbro@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14959 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'StdLib')
-rw-r--r--StdLib/LibC/Wchar/ConsDecons.c5
-rw-r--r--StdLib/LibC/Wchar/Wchar.inf1
2 files changed, 1 insertions, 5 deletions
diff --git a/StdLib/LibC/Wchar/ConsDecons.c b/StdLib/LibC/Wchar/ConsDecons.c
index 534d3e3b08..8435831834 100644
--- a/StdLib/LibC/Wchar/ConsDecons.c
+++ b/StdLib/LibC/Wchar/ConsDecons.c
@@ -19,7 +19,6 @@
#include <LibConfig.h>
-#include <errno.h>
#include <wchar.h>
/* Data initialized by the library constructor */
@@ -44,9 +43,7 @@ __wchar_construct(
ASSERT(__wchar_bitmap != NULL);
if (EFI_ERROR (Status)) {
__wchar_bitmap = NULL;
- EFIerrno = Status;
- errno = ENOMEM;
- return EFIerrno;
+ return Status;
}
return RETURN_SUCCESS;
}
diff --git a/StdLib/LibC/Wchar/Wchar.inf b/StdLib/LibC/Wchar/Wchar.inf
index 5a88233600..da9a672f79 100644
--- a/StdLib/LibC/Wchar/Wchar.inf
+++ b/StdLib/LibC/Wchar/Wchar.inf
@@ -44,7 +44,6 @@
BaseLib
BaseMemoryLib
MemoryAllocationLib
- LibC
################################################################
#