From: Kinney, Michael D Date: Fri, 7 Aug 2015 01:33:32 +0000 (+0000) Subject: ShellPkg: Refine global variable name to follow EDK II coding style. X-Git-Tag: edk2-stable201903~9101 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=f52e226e19c79e7276668e29c173fbf19a851a36 ShellPkg: Refine global variable name to follow EDK II coding style. EDK II C coding style requires use of 'm' or 'g' for module globals. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: "Kinney, Michael D" Reviewed-by: Qiu Shumin git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18184 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ping.c b/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ping.c index cc3c0c3db5..dbee764b64 100644 --- a/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ping.c +++ b/ShellPkg/Library/UefiShellNetwork1CommandsLib/Ping.c @@ -18,7 +18,7 @@ #define PING_IP4_COPY_ADDRESS(Dest, Src) (CopyMem ((Dest), (Src), sizeof (EFI_IPv4_ADDRESS))) -UINT64 CurrentTick = 0; +UINT64 mCurrentTick = 0; // // Function templates to match the IPv4 and IPv6 commands that we use. @@ -235,16 +235,16 @@ ReadTime ( ASSERT (gCpu != NULL); - Status = gCpu->GetTimerValue (gCpu, 0, &CurrentTick, &TimerPeriod); + Status = gCpu->GetTimerValue (gCpu, 0, &mCurrentTick, &TimerPeriod); if (EFI_ERROR (Status)) { // // The WinntGetTimerValue will return EFI_UNSUPPORTED. Set the // TimerPeriod by ourselves. // - CurrentTick += 1000000; + mCurrentTick += 1000000; } - return CurrentTick; + return mCurrentTick; }