From 78f17047375686481d28fcbea36c4fa53428195a Mon Sep 17 00:00:00 2001
From: patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>
Date: Fri, 17 Dec 2010 14:59:53 +0000
Subject: [PATCH] Fix compile error

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3191 42af7a65-404d-4744-a932-0658087f49c3
---
 examples/nsh/nsh.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/nsh/nsh.h b/examples/nsh/nsh.h
index 9e072614aa..8bdc0b9dd0 100644
--- a/examples/nsh/nsh.h
+++ b/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)
-- 
GitLab