summaryrefslogtreecommitdiff
path: root/nuttx/examples/nsh/nsh.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-11-15 17:42:49 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-11-15 17:42:49 +0000
commit1e6c726b328b77d54c11e91f965386f33dae19c0 (patch)
treee6a69479b45c26fdc47ece6f821d87eaa6e8776d /nuttx/examples/nsh/nsh.h
parent9334df87efdf6925fc6289cdca69e3e5ec81f118 (diff)
downloadpx4-nuttx-1e6c726b328b77d54c11e91f965386f33dae19c0.tar.gz
px4-nuttx-1e6c726b328b77d54c11e91f965386f33dae19c0.tar.bz2
px4-nuttx-1e6c726b328b77d54c11e91f965386f33dae19c0.zip
Add losetup to NSH
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1243 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples/nsh/nsh.h')
-rw-r--r--nuttx/examples/nsh/nsh.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/nuttx/examples/nsh/nsh.h b/nuttx/examples/nsh/nsh.h
index 825ea6554..32a0c934d 100644
--- a/nuttx/examples/nsh/nsh.h
+++ b/nuttx/examples/nsh/nsh.h
@@ -378,6 +378,9 @@ extern int cmd_lbracket(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv);
# endif
# endif /* CONFIG_NFILE_STREAMS && !CONFIG_EXAMPLES_NSH_DISABLESCRIPT */
# ifndef CONFIG_DISABLE_MOUNTPOINT
+# ifndef CONFIG_EXAMPLES_NSH_DISABLE_LOSETUP
+ extern int cmd_losetup(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv);
+# endif
# ifndef CONFIG_EXAMPLES_NSH_DISABLE_MKFIFO
extern int cmd_mkfifo(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv);
# endif