diff options
Diffstat (limited to 'nuttx/examples')
-rw-r--r-- | nuttx/examples/nsh/nsh.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/examples/nsh/nsh.h b/nuttx/examples/nsh/nsh.h index 9e072614a..8bdc0b9dd 100644 --- a/nuttx/examples/nsh/nsh.h +++ b/nuttx/examples/nsh/nsh.h @@ -296,7 +296,7 @@ extern int nsh_romfsetc(void); #ifdef CONFIG_NET extern int nsh_netinit(void); #else -# define nsh_netinit() +# define nsh_netinit() (-ENOSYS) #endif #if CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0 && !defined(CONFIG_EXAMPLES_NSH_DISABLESCRIPT) |