From a471fc273a529bc3de3a7aa4a2ffe3e76c8c1f46 Mon Sep 17 00:00:00 2001
From: Andreas Mohr <and@gmx.li>
Date: Sun, 20 Dec 2015 23:07:45 +0000
Subject: [PATCH] remove unused function exec_shell()
Signed-off-by: Andreas Mohr <and@gmx.li>
---
src/execute.c | 8 --------
src/execute.h | 3 ---
2 files changed, 11 deletions(-)
diff --git a/src/execute.c b/src/execute.c
index b778a73..9e491a5 100644
a
|
b
|
shell_execute (const char *command, int flags) |
443 | 443 | /* --------------------------------------------------------------------------------------------- */ |
444 | 444 | |
445 | 445 | void |
446 | | exec_shell (void) |
447 | | { |
448 | | do_execute (mc_global.shell->path, 0, 0); |
449 | | } |
450 | | |
451 | | /* --------------------------------------------------------------------------------------------- */ |
452 | | |
453 | | void |
454 | 446 | toggle_panels (void) |
455 | 447 | { |
456 | 448 | #ifdef ENABLE_SUBSHELL |
diff --git a/src/execute.h b/src/execute.h
index a8a00ef..56d24c5 100644
a
|
b
|
extern int pause_after_run; |
31 | 31 | /* Execute functions that use the shell to execute */ |
32 | 32 | void shell_execute (const char *command, int flags); |
33 | 33 | |
34 | | /* This one executes a shell */ |
35 | | void exec_shell (void); |
36 | | |
37 | 34 | /* Handle toggling panels by Ctrl-O */ |
38 | 35 | void toggle_panels (void); |
39 | 36 | |