From dfa51bb619b455315a0476d0f2335da41268a2a2 Mon Sep 17 00:00:00 2001 From: Daryl McDaniel Date: Thu, 17 Jul 2014 20:54:49 +0000 Subject: 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 Reviewed-by: Jaben Carsey git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15664 6f19259b-4bc3-4df7-8a09-765794883524 --- StdLib/LibC/Uefi/InteractiveIO/NonCanonRead.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'StdLib/LibC/Uefi/InteractiveIO') 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.
+ Copyright (c) 2012 - 2014, Intel Corporation. All rights reserved.
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 #include -#include #include +#include /** Perform a noncanonical read of input. -- cgit v1.2.3