summaryrefslogtreecommitdiffstats
path: root/src/nSocket/nstack/nstack.c
diff options
context:
space:
mode:
authornanger <zhenyinan@huawei.com>2018-08-20 11:23:31 +0800
committernanger <zhenyinan@huawei.com>2018-08-22 09:52:09 +0800
commit2a0db471858d1143b12ace6a062d37ea509612f7 (patch)
treeedf6b440822445577f4673de8a1bb4b95b1507cf /src/nSocket/nstack/nstack.c
parent9d488c4706a20a12554b9050d9b3313f8f67789d (diff)
Feat: HAL decoupling with DPDK
Change-Id: I62c60117e63e75793c1348b6852eed6753915077 Signed-off-by: nanger <zhenyinan@huawei.com>
Diffstat (limited to 'src/nSocket/nstack/nstack.c')
-rw-r--r--src/nSocket/nstack/nstack.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nSocket/nstack/nstack.c b/src/nSocket/nstack/nstack.c
index 4b01961..707cb49 100644
--- a/src/nSocket/nstack/nstack.c
+++ b/src/nSocket/nstack/nstack.c
@@ -56,9 +56,7 @@ nStack_info_t g_nStackInfo = {
/*if this flag was set, maybe all socket interface called during initializing*/
__thread int g_tloadflag = 0;
-/* app_mode 1: simple stack with APP*/
-u8 app_mode=0;
-
+extern u8 app_mode;
/*check init stack*/
#define NSTACK_INIT_STATE_CHECK_RET(state) do {\