From 4c10f95344decc88816aaa705ace54d6e20733be Mon Sep 17 00:00:00 2001 From: Ard Biesheuvel Date: Thu, 16 Jul 2015 06:50:45 +0000 Subject: 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 Reviewed-by: Laszlo Ersek Reviewed-by: Jaben Carsey Reviewed-by: Liming Gao Reviewed-by: Feng Tian git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18022 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Library/DxePrintLibPrint2Protocol/PrintLib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MdeModulePkg/Library') diff --git a/MdeModulePkg/Library/DxePrintLibPrint2Protocol/PrintLib.c b/MdeModulePkg/Library/DxePrintLibPrint2Protocol/PrintLib.c index a41f228cc2..4acdcb8714 100644 --- a/MdeModulePkg/Library/DxePrintLibPrint2Protocol/PrintLib.c +++ b/MdeModulePkg/Library/DxePrintLibPrint2Protocol/PrintLib.c @@ -1081,7 +1081,7 @@ InternalPrintLibSPrint ( #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 -- cgit v1.2.3