From 2a0db471858d1143b12ace6a062d37ea509612f7 Mon Sep 17 00:00:00 2001 From: nanger Date: Mon, 20 Aug 2018 11:23:31 +0800 Subject: Feat: HAL decoupling with DPDK Change-Id: I62c60117e63e75793c1348b6852eed6753915077 Signed-off-by: nanger --- src/nSocket/nstack/nstack.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/nSocket') 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 {\ -- cgit