mirror of https://github.com/acidanthera/audk.git
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
This commit is contained in:
parent
19a4497259
commit
6d16cca576
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -44,7 +44,6 @@
|
|||
BaseLib
|
||||
BaseMemoryLib
|
||||
MemoryAllocationLib
|
||||
LibC
|
||||
|
||||
################################################################
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue