]> git.proxmox.com Git - mirror_edk2.git/commitdiff
NetworkPkg: Refine the code of shell app under networkPkg.
authorZhang, Lubo <C:/Program Files (x86)/Git/o=Intel/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=Zhang, Lubob8d>
Wed, 9 Mar 2016 06:20:40 +0000 (14:20 +0800)
committerJiaxin Wu <jiaxin.wu@intel.com>
Fri, 11 Mar 2016 03:55:06 +0000 (11:55 +0800)
refine the code of ifconfig6 and ping6 application.

Cc: Fu Siyuan <siyuan.fu@intel.com>
Cc: Wu Jiaxin <jiaxin.wu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Zhang Lubo <lubo.zhang@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com>
NetworkPkg/Application/IfConfig6/IfConfig6.c
NetworkPkg/Application/IfConfig6/IfConfig6.h
NetworkPkg/Application/Ping6/Ping6.c
NetworkPkg/Application/Ping6/Ping6.h

index 8bd62437492404b74595dc92f1fc3bcb04acd2b4..48c3be35524fe132e69aef8c4fc886fb7e1399cd 100644 (file)
 \r
 #include "IfConfig6.h"\r
 \r
+//\r
+// String token ID of ifconfig6 command help message text.\r
+//\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_STRING_ID mStringIfconfig6HelpTokenId = STRING_TOKEN (STR_IFCONFIG6_HELP);\r
+\r
 EFI_HII_HANDLE      mHiiHandle;\r
 \r
 SHELL_PARAM_ITEM    mIfConfig6CheckList[] = {\r
index 53b6d726da0738d98ffcc399b86869996e01ef76..f74897108d209fe9ed43ba743b5c310182acf92a 100644 (file)
 #ifndef _IFCONFIG6_H_\r
 #define _IFCONFIG6_H_\r
 \r
-//\r
-// String token ID of ifconfig6 command help message text.\r
-//\r
-GLOBAL_REMOVE_IF_UNREFERENCED EFI_STRING_ID mStringIfconfig6HelpTokenId = STRING_TOKEN (STR_IFCONFIG6_HELP);\r
-\r
 enum {\r
   IfConfig6OpList     = 1,\r
   IfConfig6OpSet      = 2,\r
index f1685f710b1d673bd08ab40c79a7e5a116d0aaa0..55314e574d08d4b13f86787b160c11484838eb7a 100644 (file)
 \r
 #include "Ping6.h"\r
 \r
+//\r
+// String token ID of Ping6 command help message text.\r
+//\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_STRING_ID mStringPing6HelpToken = STRING_TOKEN (STR_PING6_HELP);\r
+\r
 SHELL_PARAM_ITEM    Ping6ParamList[] = {\r
   {\r
     L"-l",\r
index 4660b0e3be755c9e414983fb99689559b54e4392..6f590af8c0fbba35de2c99afc0cf51258d69a5c6 100644 (file)
 #define PING6_MAX_BUFFER_SIZE      32768\r
 #define PING6_ONE_SECOND           10000000\r
 \r
-//\r
-// String token ID of Ping6 command help message text.\r
-//\r
-GLOBAL_REMOVE_IF_UNREFERENCED EFI_STRING_ID mStringPing6HelpToken = STRING_TOKEN (STR_PING6_HELP);\r
-\r
 //\r
 // A similar amount of time that passes in femtoseconds\r
 // for each increment of TimerValue. It is for NT32 only.\r