From 640f2d23662509b3e5ed691cfa7e5e6c4bce971e Mon Sep 17 00:00:00 2001 From: patacongo Date: Mon, 28 Mar 2011 13:01:57 +0000 Subject: 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 --- apps/nshlib/nsh_apps.c | 4 ++-- apps/nshlib/nsh_parse.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'apps/nshlib') diff --git a/apps/nshlib/nsh_apps.c b/apps/nshlib/nsh_apps.c index 7ebc1280e..a8f9eb9bf 100644 --- a/apps/nshlib/nsh_apps.c +++ b/apps/nshlib/nsh_apps.c @@ -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); } diff --git a/apps/nshlib/nsh_parse.c b/apps/nshlib/nsh_parse.c index bf34df676..e93c624fa 100644 --- a/apps/nshlib/nsh_parse.c +++ b/apps/nshlib/nsh_parse.c @@ -1152,13 +1152,13 @@ int nsh_parse(FAR struct nsh_vtbl_s *vtbl, char *cmdline) } /* Handle the case where the command is executed in background. - * However is app is to be started as nuttapp new process will + * However is app is to be started as namedapp new process will * be created anyway, so skip this step. */ #ifndef CONFIG_NSH_DISABLEBG if (vtbl->np.np_bg #ifdef CONFIG_NSH_BUILTIN_APPS - && nuttapp_isavail(argv[0]) < 0 + && namedapp_isavail(argv[0]) < 0 #endif ) { -- cgit v1.2.3