2011-12-04 Ralf Corsépius <ralf.corsepius@rtems.org>

* libmisc/shell/main_cp.c: Include "internal.h".
	Make rtems_shell_main_cp non-static.
This commit is contained in:
Ralf Corsepius
2011-12-04 18:27:40 +00:00
parent 4326cdeed6
commit a8ed055437
2 changed files with 5 additions and 1 deletions

View File

@@ -1,5 +1,7 @@
2011-12-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/shell/main_cp.c: Include "internal.h".
Make rtems_shell_main_cp non-static.
* libmisc/shell/main_ls.c: Include "internal.h".
* libmisc/shell/main_mv.c: Remove decl of user_from_uid,
group_from_gid.

View File

@@ -85,6 +85,8 @@ __RCSID("$NetBSD: cp.c,v 1.39 2005/10/24 12:59:07 kleink Exp $");
#include <string.h>
#include <unistd.h>
#include "internal.h"
#include "extern-cp.h"
#define S_ISTXT 0
@@ -108,7 +110,7 @@ rtems_shell_cp_exit (rtems_shell_cp_globals* cp_global, int code __attribute__((
longjmp (cp_global->exit_jmp, 1);
}
static int
int
rtems_shell_main_cp(int argc, char *argv[])
{
rtems_shell_cp_globals cp_globals;