From: vanjeff Date: Thu, 27 Apr 2006 07:19:27 +0000 (+0000) Subject: Added CONST for some sting type to follow MWG-0.51. Tracker 26 and 28 X-Git-Tag: edk2-stable201903~25564 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=9b65a1b81eb5727b4adc9e5737a5fd988a76d81d;ds=sidebyside Added CONST for some sting type to follow MWG-0.51. Tracker 26 and 28 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@64 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/MdePkg/Library/BaseDebugLibReportStatusCode/DebugLib.c b/MdePkg/Library/BaseDebugLibReportStatusCode/DebugLib.c index 8a4c6a2c1c..d330c0f989 100644 --- a/MdePkg/Library/BaseDebugLibReportStatusCode/DebugLib.c +++ b/MdePkg/Library/BaseDebugLibReportStatusCode/DebugLib.c @@ -30,8 +30,8 @@ VOID EFIAPI DebugPrint ( - IN UINTN ErrorLevel, - IN CHAR8 *Format, + IN UINTN ErrorLevel, + IN CONST CHAR8 *Format, ... ) { @@ -113,9 +113,9 @@ DebugPrint ( VOID EFIAPI DebugAssert ( - IN CHAR8 *FileName, - IN INTN LineNumber, - IN CHAR8 *Description + IN CONST CHAR8 *FileName, + IN INTN LineNumber, + IN CONST CHAR8 *Description ) { UINT64 Buffer[EFI_STATUS_CODE_DATA_MAX_SIZE / sizeof(UINT64)];