From: vanjeff Date: Thu, 27 Apr 2006 07:20:20 +0000 (+0000) Subject: Added CONST for some sting type to follow MWG-0.51. Tracker 34 and 36 X-Git-Tag: edk2-stable201903~25563 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=d3665c47fb9ec7218db307124b88f39cb8d83cbc;hp=9b65a1b81eb5727b4adc9e5737a5fd988a76d81d Added CONST for some sting type to follow MWG-0.51. Tracker 34 and 36 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@65 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/MdePkg/Library/UefiDebugLibConOut/DebugLib.c b/MdePkg/Library/UefiDebugLibConOut/DebugLib.c index 4c068087be..27d82b3feb 100644 --- a/MdePkg/Library/UefiDebugLibConOut/DebugLib.c +++ b/MdePkg/Library/UefiDebugLibConOut/DebugLib.c @@ -35,8 +35,8 @@ VOID EFIAPI DebugPrint ( - IN UINTN ErrorLevel, - IN CHAR8 *Format, + IN UINTN ErrorLevel, + IN CONST CHAR8 *Format, ... ) { @@ -97,9 +97,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 ) { CHAR16 Buffer[MAX_DEBUG_MESSAGE_LENGTH];