forked from Imagelibrary/rtems
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:
@@ -1,5 +1,7 @@
|
|||||||
2011-12-04 Ralf Corsépius <ralf.corsepius@rtems.org>
|
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_ls.c: Include "internal.h".
|
||||||
* libmisc/shell/main_mv.c: Remove decl of user_from_uid,
|
* libmisc/shell/main_mv.c: Remove decl of user_from_uid,
|
||||||
group_from_gid.
|
group_from_gid.
|
||||||
|
|||||||
@@ -85,6 +85,8 @@ __RCSID("$NetBSD: cp.c,v 1.39 2005/10/24 12:59:07 kleink Exp $");
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
|
#include "internal.h"
|
||||||
|
|
||||||
#include "extern-cp.h"
|
#include "extern-cp.h"
|
||||||
|
|
||||||
#define S_ISTXT 0
|
#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);
|
longjmp (cp_global->exit_jmp, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
int
|
||||||
rtems_shell_main_cp(int argc, char *argv[])
|
rtems_shell_main_cp(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
rtems_shell_cp_globals cp_globals;
|
rtems_shell_cp_globals cp_globals;
|
||||||
|
|||||||
Reference in New Issue
Block a user