summaryrefslogtreecommitdiff
path: root/nuttx/examples/nsh/nsh.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-12-17 14:59:53 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-12-17 14:59:53 +0000
commit390d0065bb8dd2e8ff252bff87941bc194889d0f (patch)
tree754d7daf1cc03f98400a21cbba4b6679dc273462 /nuttx/examples/nsh/nsh.h
parent4416d4ab18fff9f33b37a37b999dcdf57b8edfe7 (diff)
downloadnuttx-390d0065bb8dd2e8ff252bff87941bc194889d0f.tar.gz
nuttx-390d0065bb8dd2e8ff252bff87941bc194889d0f.tar.bz2
nuttx-390d0065bb8dd2e8ff252bff87941bc194889d0f.zip
Fix compile error
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3191 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples/nsh/nsh.h')
-rw-r--r--nuttx/examples/nsh/nsh.h2
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)