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/Include/paths.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'StdLib/Include') diff --git a/StdLib/Include/paths.h b/StdLib/Include/paths.h index 7c96824..560bd03 100644 --- a/StdLib/Include/paths.h +++ b/StdLib/Include/paths.h @@ -1,6 +1,6 @@ /** @file - 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 @@ -50,6 +50,7 @@ #define _PATH_STDLIB "/Efi/StdLib/" #define _PATH_ETC _PATH_STDLIB "etc/" #define _PATH_TMP _PATH_STDLIB "tmp/" +#define _PATH_LIB _PATH_STDLIB "lib/" #define _PATH_BIN "/Efi/Tools/" /* DOS style device paths */ -- cgit v1.1