Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
filemanager: use function prototypes from rtems/shell.h
  • Loading branch information
Sebastien Bourdeauducq committed Feb 24, 2012
1 parent e76c146 commit 3cfd158
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/gui/filemanager.c
Expand Up @@ -24,6 +24,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <rtems/shell.h>

#include <mtklib.h>

Expand All @@ -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 };
Expand Down

0 comments on commit 3cfd158

Please sign in to comment.