diff options
author | nicm <nicm> | 2015-11-18 14:27:44 +0000 |
---|---|---|
committer | nicm <nicm> | 2015-11-18 14:27:44 +0000 |
commit | 577c0e3e5a79e9f1f860487bc3f411d26758f026 (patch) | |
tree | 9413b6a93eee1e053b0b5fa6258c78db0abb0819 /cmd-list-keys.c | |
parent | 5a5b950e8b86606edea8f61c40bf8af28ab4f08b (diff) | |
download | rtmux-577c0e3e5a79e9f1f860487bc3f411d26758f026.tar.gz rtmux-577c0e3e5a79e9f1f860487bc3f411d26758f026.tar.bz2 rtmux-577c0e3e5a79e9f1f860487bc3f411d26758f026.zip |
Use __unused rather than rolling our own.
Diffstat (limited to 'cmd-list-keys.c')
-rw-r--r-- | cmd-list-keys.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd-list-keys.c b/cmd-list-keys.c index 3b6afa3e..4355f24e 100644 --- a/cmd-list-keys.c +++ b/cmd-list-keys.c @@ -30,7 +30,7 @@ enum cmd_retval cmd_list_keys_exec(struct cmd *, struct cmd_q *); enum cmd_retval cmd_list_keys_table(struct cmd *, struct cmd_q *); -enum cmd_retval cmd_list_keys_commands(struct cmd *, struct cmd_q *); +enum cmd_retval cmd_list_keys_commands(struct cmd_q *); const struct cmd_entry cmd_list_keys_entry = { "list-keys", "lsk", @@ -60,7 +60,7 @@ cmd_list_keys_exec(struct cmd *self, struct cmd_q *cmdq) int repeat, width, tablewidth, keywidth; if (self->entry == &cmd_list_commands_entry) - return (cmd_list_keys_commands(self, cmdq)); + return (cmd_list_keys_commands(cmdq)); if (args_has(args, 't')) return (cmd_list_keys_table(self, cmdq)); @@ -178,7 +178,7 @@ cmd_list_keys_table(struct cmd *self, struct cmd_q *cmdq) } enum cmd_retval -cmd_list_keys_commands(unused struct cmd *self, struct cmd_q *cmdq) +cmd_list_keys_commands(struct cmd_q *cmdq) { const struct cmd_entry **entryp; const struct cmd_entry *entry; |