[PATCH 04/23] shell/main_cp.c: Delete unused -rtems_shell_cp_exit()

Joel Sherrill joel.sherrill at oarcorp.com
Mon Oct 13 14:18:11 UTC 2014


---
 cpukit/libmisc/shell/main_cp.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/cpukit/libmisc/shell/main_cp.c b/cpukit/libmisc/shell/main_cp.c
index 8b44587..b93865d 100644
--- a/cpukit/libmisc/shell/main_cp.c
+++ b/cpukit/libmisc/shell/main_cp.c
@@ -104,12 +104,6 @@ static int main_cp(rtems_shell_cp_globals* cp_globals, int, char *[]);
 static int copy(rtems_shell_cp_globals* cp_globals, char *[], enum op, int);
 static int mastercmp(const FTSENT **, const FTSENT **);
 
-static void
-rtems_shell_cp_exit (rtems_shell_cp_globals* cp_global, int code __attribute__((unused)))
-{
-  longjmp (cp_global->exit_jmp, 1);
-}
-
 int
 rtems_shell_main_cp(int argc, char *argv[])
 {
-- 
1.9.3




More information about the devel mailing list