diff --git a/cli/src/main.c b/cli/src/main.c index d9425815c8d699faf5ec85da3f105403080a3fcd..aa3d404d53e58dd2133e911ed5ef7281dc43cab5 100644 --- a/cli/src/main.c +++ b/cli/src/main.c @@ -37,7 +37,7 @@ #define MAX_ARGC 1024 #define MAX_ARG_LEN 1024 -bool g_allowLink = false; +extern bool g_allowLink; struct CmdArgs { char rootfs[BUF_SIZE]; @@ -491,4 +491,4 @@ int main(int argc, char **argv) #endif int ret = Process(argc, argv); return ret; -} \ No newline at end of file +}