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/Include | |
parent | caf89d64ff700b3d8807f477c172feaaae85d5f3 (diff) | |
download | edk2-dfa51bb619b455315a0476d0f2335da41268a2a2.zip edk2-dfa51bb619b455315a0476d0f2335da41268a2a2.tar.gz edk2-dfa51bb619b455315a0476d0f2335da41268a2a2.tar.bz2 |
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/Include')
-rw-r--r-- | StdLib/Include/paths.h | 3 |
1 files changed, 2 insertions, 1 deletions
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.<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
@@ -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 */
|