diff options
author | Daryl McDaniel <daryl.mcdaniel@intel.com> | 2014-07-17 20:54:49 +0000 |
---|---|---|
committer | darylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-07-17 20:54:49 +0000 |
commit | dfa51bb619b455315a0476d0f2335da41268a2a2 (patch) | |
tree | 72dfbd3440d46e2afa70c835ffec7c8c066678ec /StdLib/LibC/Uefi | |
parent | caf89d64ff700b3d8807f477c172feaaae85d5f3 (diff) | |
download | edk2-platforms-dfa51bb619b455315a0476d0f2335da41268a2a2.tar.xz |
StdLib: Simple code cleanup
StdLib/LibC/Main/Main.c
Change Print to Debug statements.
Ensure errno is initialized to 0 before calling main().
StdLib/LibC/StdLib/Malloc.c
Aesthetic Cleanup: remove unnecessary cast, fix two whitespace alignment problems.
StdLib/LibC/Uefi/InteractiveIO/NonCanonRead.c
Change Include order.
StdLib/Include/paths.h
Add definition _PATH_LIB for the path to the library directory: /Efi/StdLib/lib.
StdLib/LibC/Stdio/vfwscanf.c
Align declarations and initializations.
Initialize the multipurpose pointer, p, to NULL.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Daryl McDaniel <daryl.mcdaniel@intel.com>
Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15664 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'StdLib/LibC/Uefi')
-rw-r--r-- | StdLib/LibC/Uefi/InteractiveIO/NonCanonRead.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/StdLib/LibC/Uefi/InteractiveIO/NonCanonRead.c b/StdLib/LibC/Uefi/InteractiveIO/NonCanonRead.c index 15bf43e260..bcae9c8239 100644 --- a/StdLib/LibC/Uefi/InteractiveIO/NonCanonRead.c +++ b/StdLib/LibC/Uefi/InteractiveIO/NonCanonRead.c @@ -4,7 +4,7 @@ The functions assume that isatty() is TRUE at the time they are called.
If _S_IWTTY is set, the device returns WIDE characters.
- Copyright (c) 2012, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2012 - 2014, 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
@@ -17,8 +17,8 @@ #include <sys/syslimits.h>
#include <sys/termios.h>
-#include <Device/IIO.h>
#include <Containers/Fifo.h>
+#include <Device/IIO.h>
/** Perform a noncanonical read of input.
|