mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-28 16:14:04 +02:00
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 <LibConfig.h>
|
||||||
|
|
||||||
#include <errno.h>
|
|
||||||
#include <wchar.h>
|
#include <wchar.h>
|
||||||
|
|
||||||
/* Data initialized by the library constructor */
|
/* Data initialized by the library constructor */
|
||||||
@ -44,9 +43,7 @@ __wchar_construct(
|
|||||||
ASSERT(__wchar_bitmap != NULL);
|
ASSERT(__wchar_bitmap != NULL);
|
||||||
if (EFI_ERROR (Status)) {
|
if (EFI_ERROR (Status)) {
|
||||||
__wchar_bitmap = NULL;
|
__wchar_bitmap = NULL;
|
||||||
EFIerrno = Status;
|
return Status;
|
||||||
errno = ENOMEM;
|
|
||||||
return EFIerrno;
|
|
||||||
}
|
}
|
||||||
return RETURN_SUCCESS;
|
return RETURN_SUCCESS;
|
||||||
}
|
}
|
||||||
|
@ -44,7 +44,6 @@
|
|||||||
BaseLib
|
BaseLib
|
||||||
BaseMemoryLib
|
BaseMemoryLib
|
||||||
MemoryAllocationLib
|
MemoryAllocationLib
|
||||||
LibC
|
|
||||||
|
|
||||||
################################################################
|
################################################################
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user