summaryrefslogtreecommitdiff
path: root/apps/builtin/exec_builtin.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/builtin/exec_builtin.c')
-rw-r--r--apps/builtin/exec_builtin.c46
1 files changed, 1 insertions, 45 deletions
diff --git a/apps/builtin/exec_builtin.c b/apps/builtin/exec_builtin.c
index 6868d7ee7..05648590d 100644
--- a/apps/builtin/exec_builtin.c
+++ b/apps/builtin/exec_builtin.c
@@ -54,7 +54,7 @@
#include <debug.h>
#include <nuttx/binfmt/builtin.h>
-#include <apps/apps.h>
+#include <apps/builtin.h>
/****************************************************************************
* Pre-processor Definitions
@@ -366,50 +366,6 @@ errout:
****************************************************************************/
/****************************************************************************
- * Name: builtin_getname
- *
- * Description:
- * Return the name of the application at index in the table of builtin
- * applications.
- *
- ****************************************************************************/
-
-const char *builtin_getname(int index)
-{
- if (index < 0 || index >= number_builtins())
- {
- return NULL;
- }
-
- return g_builtins[index].name;
-}
-
-/****************************************************************************
- * Name: builtin_isavail
- *
- * Description:
- * Return the index into the table of applications for the applicaiton with
- * the name 'appname'.
- *
- ****************************************************************************/
-
-int builtin_isavail(FAR const char *appname)
-{
- int i;
-
- for (i = 0; g_builtins[i].name; i++)
- {
- if (!strcmp(g_builtins[i].name, appname))
- {
- return i;
- }
- }
-
- set_errno(ENOENT);
- return ERROR;
-}
-
-/****************************************************************************
* Name: exec_builtin
*
* Description: