Revision: 18022
http://sourceforge.net/p/edk2/code/18022
Author: abiesheuvel
Date: 2015-07-16 06:50:45 +0000 (Thu, 16 Jul 2015)
Log Message:
-----------
MdeModulePkg/DxePrintLibPrint2Protocol: make mStatusString array CONST
Change the type of mStatusString[] to reflect that it is a CONST
array of pointers to CONST.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <[email protected]>
Reviewed-by: Laszlo Ersek <[email protected]>
Reviewed-by: Jaben Carsey <[email protected]>
Reviewed-by: Liming Gao <[email protected]>
Reviewed-by: Feng Tian <[email protected]>
Modified Paths:
--------------
trunk/edk2/MdeModulePkg/Library/DxePrintLibPrint2Protocol/PrintLib.c
Modified: trunk/edk2/MdeModulePkg/Library/DxePrintLibPrint2Protocol/PrintLib.c
===================================================================
--- trunk/edk2/MdeModulePkg/Library/DxePrintLibPrint2Protocol/PrintLib.c
2015-07-16 06:50:36 UTC (rev 18021)
+++ trunk/edk2/MdeModulePkg/Library/DxePrintLibPrint2Protocol/PrintLib.c
2015-07-16 06:50:45 UTC (rev 18022)
@@ -1081,7 +1081,7 @@
#define WARNING_STATUS_NUMBER 5
#define ERROR_STATUS_NUMBER 33
-GLOBAL_REMOVE_IF_UNREFERENCED CONST CHAR8 *mStatusString[] = {
+GLOBAL_REMOVE_IF_UNREFERENCED CONST CHAR8 * CONST mStatusString[] = {
"Success", // RETURN_SUCCESS = 0
"Warning Unknown Glyph", // RETURN_WARN_UNKNOWN_GLYPH = 1
"Warning Delete Failure", // RETURN_WARN_DELETE_FAILURE = 2
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits