Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

filemanager: use function prototypes from rtems/shell.h

  • Loading branch information...
commit 3cfd1588726aa3fb019d5353c412e390fa78fd7c 1 parent e76c146
@sbourdeauducq sbourdeauducq authored
Showing with 1 addition and 4 deletions.
  1. +1 −4 src/gui/filemanager.c
5 src/gui/filemanager.c
@@ -24,6 +24,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
+#include <rtems/shell.h>
#include <mtklib.h>
@@ -33,10 +34,6 @@
static int unlock;
/* Ugly APIs need ugly hacks. */
-int rtems_shell_main_cp(int argc, char *argv[]);
-int rtems_shell_main_rm(int argc, char *argv[]);
-int rtems_shell_main_mv(int argc, char *argv[]);
static void call_cp(char *from, char *to)
char *cp_argv[6] = { "cp", "-PRp", "--", from, to, NULL };
Please sign in to comment.
Something went wrong with that request. Please try again.