diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-09-16 16:08:06 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-09-16 16:08:06 -0600 |
commit | a37663a1c0da822fdea48eebefb169ee06edd97f (patch) | |
tree | 6a3aa2ecf96811f8a95034821ba04b6de0c849e7 /apps | |
parent | e6e9bf0ecc4c6dac335b8a5ca7ee02895981e8f1 (diff) | |
download | nuttx-a37663a1c0da822fdea48eebefb169ee06edd97f.tar.gz nuttx-a37663a1c0da822fdea48eebefb169ee06edd97f.tar.bz2 nuttx-a37663a1c0da822fdea48eebefb169ee06edd97f.zip |
Eliminate some nshlib warngings
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 } |