summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJérémie Courrèges-Anglas <jca@wxcvbn.org>2016-11-23 02:53:45 +0100
committerJérémie Courrèges-Anglas <jca@wxcvbn.org>2016-11-23 02:53:45 +0100
commit1554e905650daa7bf60bda258b31854756a3ae89 (patch)
treee1a1508b2766c61ac9f4c51d69f776bc8e1f2846 /src
parent9094ef8db4c47ab127cf6b0667f4c8c73bed5d10 (diff)
downloadratpoison-1554e905650daa7bf60bda258b31854756a3ae89.zip
Kill more dead decls and functions.
Diffstat (limited to 'src')
-rw-r--r--src/actions.c32
1 files changed, 9 insertions, 23 deletions
diff --git a/src/actions.c b/src/actions.c
index a3d7c56..87a404e 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -117,8 +117,6 @@ static cmdret *cmd_addhook (int interactive, struct cmdarg **args);
static cmdret *cmd_alias (int interactive, struct cmdarg **args);
static cmdret *cmd_banish (int interactive, struct cmdarg **args);
static cmdret *cmd_banishrel (int interactive, struct cmdarg **args);
-static cmdret *cmd_bind (int interactive, struct cmdarg **args);
-static cmdret *cmd_compat (int interactive, struct cmdarg **args);
static cmdret *cmd_chdir (int interactive, struct cmdarg **args);
static cmdret *cmd_clrunmanaged (int interactive, struct cmdarg **args);
static cmdret *cmd_colon (int interactive, struct cmdarg **args);
@@ -193,8 +191,6 @@ static cmdret *cmd_startup_message (int interactive, struct cmdarg **args);
static cmdret *cmd_time (int interactive, struct cmdarg **args);
static cmdret *cmd_tmpwm (int interactive, struct cmdarg **args);
static cmdret *cmd_unalias (int interactive, struct cmdarg **args);
-static cmdret *cmd_unbind (int interactive, struct cmdarg **args);
-static cmdret *cmd_unimplemented (int interactive, struct cmdarg **args);
static cmdret *cmd_unmanage (int interactive, struct cmdarg **args);
static cmdret *cmd_unsetenv (int interactive, struct cmdarg **args);
static cmdret *cmd_v_split (int interactive, struct cmdarg **args);
@@ -547,19 +543,15 @@ init_user_commands(void)
add_command ("commands", cmd_commands, 0, 0, 0);
/*@end (tag required for genrpbindings) */
- /* Commands to help debug ratpoison. */
-#ifdef DEBUG
-#endif
-
- /* the following screen commands may or may not be able to be
- implemented. See the screen documentation for what should be
- emulated with these commands */
-#if 0
- add_command ("msgminwait", cmd_unimplemented, 0);
- add_command ("nethack", cmd_unimplemented, 0);
- add_command ("sleep", cmd_unimplemented, 0);
- add_command ("stuff", cmd_unimplemented, 0);
-#endif
+ /*
+ The following screen commands may or may not be able to be
+ implemented. See the screen documentation for what should be
+ emulated with these commands
+ - msgminwait
+ - nethack
+ - sleep
+ - stuff
+ */
init_set_vars();
}
@@ -1296,12 +1288,6 @@ cmd_definekey (int interactive UNUSED, struct cmdarg **args)
}
cmdret *
-cmd_unimplemented (int interactive UNUSED, struct cmdarg **args UNUSED)
-{
- return cmdret_new (RET_FAILURE, "FIXME: unimplemented command");
-}
-
-cmdret *
cmd_source (int interactive UNUSED, struct cmdarg **args)
{
FILE *fileptr;