diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/nshlib/nsh_netinit.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/nshlib/nsh_netinit.c b/apps/nshlib/nsh_netinit.c index 704419308..1b8a82bf9 100644 --- a/apps/nshlib/nsh_netinit.c +++ b/apps/nshlib/nsh_netinit.c @@ -508,6 +508,7 @@ errout: * ****************************************************************************/ +#ifdef CONFIG_NSH_NETINIT_THREAD static pthread_addr_t nsh_netinit_thread(pthread_addr_t arg) { nvdbg("Entry\n"); @@ -525,6 +526,7 @@ static pthread_addr_t nsh_netinit_thread(pthread_addr_t arg) nvdbg("Exit\n"); return NULL; } +#endif /**************************************************************************** * Public Functions @@ -579,6 +581,7 @@ int nsh_netinit(void) /* Perform network initialization sequentially */ nsh_netinit_configure(); + return OK; #endif } |