diff options
author | Zhang, Lubo <C:/Program Files (x86)/Git/o=Intel/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=Zhang, Lubob8d> | 2016-03-09 14:20:40 +0800 |
---|---|---|
committer | Jiaxin Wu <jiaxin.wu@intel.com> | 2016-03-11 11:55:06 +0800 |
commit | d1bc021ab39ca02ed05d2e529a9362d1da807308 (patch) | |
tree | 597e4ba5138a866e212880270c09989a2b585127 /NetworkPkg | |
parent | bad53b3d400d1575e35aba8b7b3e10b3d9ad53c6 (diff) | |
download | edk2-d1bc021ab39ca02ed05d2e529a9362d1da807308.tar.gz edk2-d1bc021ab39ca02ed05d2e529a9362d1da807308.tar.bz2 edk2-d1bc021ab39ca02ed05d2e529a9362d1da807308.zip |
NetworkPkg: Refine the code of shell app under networkPkg.
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>
Diffstat (limited to 'NetworkPkg')
-rw-r--r-- | NetworkPkg/Application/IfConfig6/IfConfig6.c | 5 | ||||
-rw-r--r-- | NetworkPkg/Application/IfConfig6/IfConfig6.h | 5 | ||||
-rw-r--r-- | NetworkPkg/Application/Ping6/Ping6.c | 5 | ||||
-rw-r--r-- | NetworkPkg/Application/Ping6/Ping6.h | 5 |
4 files changed, 10 insertions, 10 deletions
diff --git a/NetworkPkg/Application/IfConfig6/IfConfig6.c b/NetworkPkg/Application/IfConfig6/IfConfig6.c index 8bd6243749..48c3be3552 100644 --- a/NetworkPkg/Application/IfConfig6/IfConfig6.c +++ b/NetworkPkg/Application/IfConfig6/IfConfig6.c @@ -28,6 +28,11 @@ #include "IfConfig6.h"
+//
+// String token ID of ifconfig6 command help message text.
+//
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_STRING_ID mStringIfconfig6HelpTokenId = STRING_TOKEN (STR_IFCONFIG6_HELP);
+
EFI_HII_HANDLE mHiiHandle;
SHELL_PARAM_ITEM mIfConfig6CheckList[] = {
diff --git a/NetworkPkg/Application/IfConfig6/IfConfig6.h b/NetworkPkg/Application/IfConfig6/IfConfig6.h index 53b6d726da..f74897108d 100644 --- a/NetworkPkg/Application/IfConfig6/IfConfig6.h +++ b/NetworkPkg/Application/IfConfig6/IfConfig6.h @@ -16,11 +16,6 @@ #ifndef _IFCONFIG6_H_
#define _IFCONFIG6_H_
-//
-// String token ID of ifconfig6 command help message text.
-//
-GLOBAL_REMOVE_IF_UNREFERENCED EFI_STRING_ID mStringIfconfig6HelpTokenId = STRING_TOKEN (STR_IFCONFIG6_HELP);
-
enum {
IfConfig6OpList = 1,
IfConfig6OpSet = 2,
diff --git a/NetworkPkg/Application/Ping6/Ping6.c b/NetworkPkg/Application/Ping6/Ping6.c index f1685f710b..55314e574d 100644 --- a/NetworkPkg/Application/Ping6/Ping6.c +++ b/NetworkPkg/Application/Ping6/Ping6.c @@ -30,6 +30,11 @@ #include "Ping6.h"
+//
+// String token ID of Ping6 command help message text.
+//
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_STRING_ID mStringPing6HelpToken = STRING_TOKEN (STR_PING6_HELP);
+
SHELL_PARAM_ITEM Ping6ParamList[] = {
{
L"-l",
diff --git a/NetworkPkg/Application/Ping6/Ping6.h b/NetworkPkg/Application/Ping6/Ping6.h index 4660b0e3be..6f590af8c0 100644 --- a/NetworkPkg/Application/Ping6/Ping6.h +++ b/NetworkPkg/Application/Ping6/Ping6.h @@ -22,11 +22,6 @@ #define PING6_ONE_SECOND 10000000
//
-// String token ID of Ping6 command help message text.
-//
-GLOBAL_REMOVE_IF_UNREFERENCED EFI_STRING_ID mStringPing6HelpToken = STRING_TOKEN (STR_PING6_HELP);
-
-//
// A similar amount of time that passes in femtoseconds
// for each increment of TimerValue. It is for NT32 only.
//
|