summaryrefslogtreecommitdiff
path: root/StdLib/LibC/Wchar/ConsDecons.c
diff options
context:
space:
mode:
authorLeif Lindholm <leif.lindholm@linaro.org>2014-01-24 17:18:26 +0000
committerLeif Lindholm <leif.lindholm@linaro.org>2014-01-24 17:18:26 +0000
commite1e57aa891deef00276b26a4569802a5cd13ce92 (patch)
tree9061825c6c9f5c8bed33d5b2087101ce38f23fdf /StdLib/LibC/Wchar/ConsDecons.c
parent18110e987bb049e24ade0fb63b5577def8f99114 (diff)
parent04d965c0713468e055ef328f9f49903bc5944e54 (diff)
Merging uefi-next/linaro-release into masterHEADlinaro-uefi-2014.01master
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'StdLib/LibC/Wchar/ConsDecons.c')
-rw-r--r--StdLib/LibC/Wchar/ConsDecons.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/StdLib/LibC/Wchar/ConsDecons.c b/StdLib/LibC/Wchar/ConsDecons.c
index 534d3e3b0..03815f49c 100644
--- a/StdLib/LibC/Wchar/ConsDecons.c
+++ b/StdLib/LibC/Wchar/ConsDecons.c
@@ -5,7 +5,7 @@
two wide characters the same way as two integers of the underlying integer
type designated by wchar_t.
- Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2010 - 2013, 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 that accompanies this distribution.
The full text of the license may be found at
@@ -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;
}