Skip to content

Commit 3cfd158

Browse files
author
Sebastien Bourdeauducq
committedFeb 24, 2012
filemanager: use function prototypes from rtems/shell.h
1 parent e76c146 commit 3cfd158

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed
 

‎src/gui/filemanager.c

+1-4
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
#include <stdlib.h>
2525
#include <stdio.h>
2626
#include <unistd.h>
27+
#include <rtems/shell.h>
2728

2829
#include <mtklib.h>
2930

@@ -33,10 +34,6 @@
3334
static int unlock;
3435

3536
/* Ugly APIs need ugly hacks. */
36-
int rtems_shell_main_cp(int argc, char *argv[]);
37-
int rtems_shell_main_rm(int argc, char *argv[]);
38-
int rtems_shell_main_mv(int argc, char *argv[]);
39-
4037
static void call_cp(char *from, char *to)
4138
{
4239
char *cp_argv[6] = { "cp", "-PRp", "--", from, to, NULL };

0 commit comments

Comments
 (0)
Please sign in to comment.