Renamed nuttapp to namedapp; add binfs to nammedapp/

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3429 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2011-03-28 13:01:57 +00:00
parent a3264d034d
commit 9fc214c5a7
11 changed files with 834 additions and 77 deletions

View File

@@ -93,7 +93,7 @@ int nsh_execapp(FAR struct nsh_vtbl_s *vtbl, FAR const char *cmd,
/* Try to find command within pre-built application list. */
ret = exec_nuttapp(cmd, argv);
ret = exec_namedapp(cmd, argv);
if (ret < 0)
{
int err = -errno;
@@ -102,7 +102,7 @@ int nsh_execapp(FAR struct nsh_vtbl_s *vtbl, FAR const char *cmd,
/* On failure, list the set of available built-in commands */
nsh_output(vtbl, "Builtin Apps: ");
for (i = 0; (name = nuttapp_getname(i)) != NULL; i++)
for (i = 0; (name = namedapp_getname(i)) != NULL; i++)
{
nsh_output(vtbl, "%s ", name);
}