]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ShellPkg: Refine global variable name to follow EDK II coding style.
authorKinney, Michael D <michael.d.kinney@intel.com>
Fri, 7 Aug 2015 01:33:32 +0000 (01:33 +0000)
committershenshushi <shenshushi@Edk2>
Fri, 7 Aug 2015 01:33:32 +0000 (01:33 +0000)
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" <michael.d.kinney@intel.com>
Reviewed-by: Qiu Shumin <shumin.qiu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18184 6f19259b-4bc3-4df7-8a09-765794883524

ShellPkg/Library/UefiShellNetwork1CommandsLib/Ping.c

index cc3c0c3db5d385c8e83008967448cbe56728a6af..dbee764b64eb1230b7c6eb80e54f4bc6be727321 100644 (file)
@@ -18,7 +18,7 @@
 \r
 #define PING_IP4_COPY_ADDRESS(Dest, Src) (CopyMem ((Dest), (Src), sizeof (EFI_IPv4_ADDRESS)))\r
 \r
-UINT64          CurrentTick = 0;\r
+UINT64          mCurrentTick = 0;\r
 \r
 //\r
 // Function templates to match the IPv4 and IPv6 commands that we use.\r
@@ -235,16 +235,16 @@ ReadTime (
 \r
   ASSERT (gCpu != NULL);\r
 \r
-  Status = gCpu->GetTimerValue (gCpu, 0, &CurrentTick, &TimerPeriod);\r
+  Status = gCpu->GetTimerValue (gCpu, 0, &mCurrentTick, &TimerPeriod);\r
   if (EFI_ERROR (Status)) {\r
     //\r
     // The WinntGetTimerValue will return EFI_UNSUPPORTED. Set the\r
     // TimerPeriod by ourselves.\r
     //\r
-    CurrentTick += 1000000;\r
+    mCurrentTick += 1000000;\r
   }\r
   \r
-  return CurrentTick;\r
+  return mCurrentTick;\r
 }\r
 \r
 \r