Revision: 18021
          http://sourceforge.net/p/edk2/code/18021
Author:   jljusten
Date:     2015-07-26 07:37:23 +0000 (Sun, 26 Jul 2015)
Log Message:
-----------
MdePkg/BasePrintLib: 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/MdePkg/Library/BasePrintLib/PrintLibInternal.c

Modified: trunk/edk2/MdePkg/Library/BasePrintLib/PrintLibInternal.c
===================================================================
--- trunk/edk2/MdePkg/Library/BasePrintLib/PrintLibInternal.c   2015-07-26 
07:37:18 UTC (rev 18020)
+++ trunk/edk2/MdePkg/Library/BasePrintLib/PrintLibInternal.c   2015-07-26 
07:37:23 UTC (rev 18021)
@@ -19,7 +19,7 @@
 
 GLOBAL_REMOVE_IF_UNREFERENCED CONST CHAR8 mHexStr[] = 
{'0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'};
 
-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


------------------------------------------------------------------------------
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to