From 390d0065bb8dd2e8ff252bff87941bc194889d0f Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 17 Dec 2010 14:59:53 +0000 Subject: Fix compile error git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3191 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/examples/nsh/nsh.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nuttx/examples') 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) -- cgit v1.2.3