From: vanjeff Date: Thu, 27 Apr 2006 07:19:07 +0000 (+0000) Subject: Added CONST for some sting type to follow MWG-0.51. Tracker 26 and 28 X-Git-Tag: edk2-stable201903~25565 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=eb7a248b1e2d59d6a70b133721c86a22d17181e5;ds=inline 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@63 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/MdePkg/Library/BaseDebugLibNull/DebugLib.c b/MdePkg/Library/BaseDebugLibNull/DebugLib.c index 1440f8f127..35aea32259 100644 --- a/MdePkg/Library/BaseDebugLibNull/DebugLib.c +++ b/MdePkg/Library/BaseDebugLibNull/DebugLib.c @@ -34,8 +34,8 @@ VOID EFIAPI DebugPrint ( - IN UINTN ErrorLevel, - IN CHAR8 *Format, + IN UINTN ErrorLevel, + IN CONST CHAR8 *Format, ... ) { @@ -82,9 +82,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 ) { CHAR8 Buffer[MAX_DEBUG_MESSAGE_LENGTH];