aboutsummaryrefslogtreecommitdiff
path: root/cmd-show-options.c
diff options
context:
space:
mode:
authornicm <nicm>2016-10-10 21:51:39 +0000
committernicm <nicm>2016-10-10 21:51:39 +0000
commita81685bfac9d4eac3a7cfd8f8ce13033a46fe01c (patch)
treef067d0071fc93a06c2364fe419b93cce31ac0825 /cmd-show-options.c
parentc426e485e527a03aa3b4bdbb3203f621e006cbd5 (diff)
downloadrtmux-a81685bfac9d4eac3a7cfd8f8ce13033a46fe01c.tar.gz
rtmux-a81685bfac9d4eac3a7cfd8f8ce13033a46fe01c.tar.bz2
rtmux-a81685bfac9d4eac3a7cfd8f8ce13033a46fe01c.zip
Add static in cmd-* and fix a few other nits.
Diffstat (limited to 'cmd-show-options.c')
-rw-r--r--cmd-show-options.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/cmd-show-options.c b/cmd-show-options.c
index 322f532c..89d8f219 100644
--- a/cmd-show-options.c
+++ b/cmd-show-options.c
@@ -27,12 +27,12 @@
* Show options.
*/
-enum cmd_retval cmd_show_options_exec(struct cmd *, struct cmd_q *);
+static enum cmd_retval cmd_show_options_exec(struct cmd *, struct cmd_q *);
-enum cmd_retval cmd_show_options_one(struct cmd *, struct cmd_q *,
- struct options *, int);
-enum cmd_retval cmd_show_options_all(struct cmd *, struct cmd_q *,
- struct options *, enum options_table_scope);
+static enum cmd_retval cmd_show_options_one(struct cmd *, struct cmd_q *,
+ struct options *, int);
+static enum cmd_retval cmd_show_options_all(struct cmd *, struct cmd_q *,
+ struct options *, enum options_table_scope);
const struct cmd_entry cmd_show_options_entry = {
.name = "show-options",
@@ -60,7 +60,7 @@ const struct cmd_entry cmd_show_window_options_entry = {
.exec = cmd_show_options_exec
};
-enum cmd_retval
+static enum cmd_retval
cmd_show_options_exec(struct cmd *self, struct cmd_q *cmdq)
{
struct args *args = self->args;
@@ -110,7 +110,7 @@ cmd_show_options_exec(struct cmd *self, struct cmd_q *cmdq)
return (cmd_show_options_one(self, cmdq, oo, quiet));
}
-enum cmd_retval
+static enum cmd_retval
cmd_show_options_one(struct cmd *self, struct cmd_q *cmdq,
struct options *oo, int quiet)
{
@@ -160,7 +160,7 @@ retry:
return (CMD_RETURN_NORMAL);
}
-enum cmd_retval
+static enum cmd_retval
cmd_show_options_all(struct cmd *self, struct cmd_q *cmdq, struct options *oo,
enum options_table_scope scope)
{