diff options
author | nicm <nicm> | 2016-10-10 21:51:39 +0000 |
---|---|---|
committer | nicm <nicm> | 2016-10-10 21:51:39 +0000 |
commit | a81685bfac9d4eac3a7cfd8f8ce13033a46fe01c (patch) | |
tree | f067d0071fc93a06c2364fe419b93cce31ac0825 /cmd-show-messages.c | |
parent | c426e485e527a03aa3b4bdbb3203f621e006cbd5 (diff) | |
download | rtmux-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-messages.c')
-rw-r--r-- | cmd-show-messages.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cmd-show-messages.c b/cmd-show-messages.c index 3131184d..0f607aa2 100644 --- a/cmd-show-messages.c +++ b/cmd-show-messages.c @@ -29,7 +29,7 @@ * Show client message log. */ -enum cmd_retval cmd_show_messages_exec(struct cmd *, struct cmd_q *); +static enum cmd_retval cmd_show_messages_exec(struct cmd *, struct cmd_q *); const struct cmd_entry cmd_show_messages_entry = { .name = "show-messages", @@ -55,10 +55,10 @@ const struct cmd_entry cmd_server_info_entry = { .exec = cmd_show_messages_exec }; -int cmd_show_messages_terminals(struct cmd_q *, int); -int cmd_show_messages_jobs(struct cmd_q *, int); +static int cmd_show_messages_terminals(struct cmd_q *, int); +static int cmd_show_messages_jobs(struct cmd_q *, int); -int +static int cmd_show_messages_terminals(struct cmd_q *cmdq, int blank) { struct tty_term *term; @@ -79,7 +79,7 @@ cmd_show_messages_terminals(struct cmd_q *cmdq, int blank) return (n != 0); } -int +static int cmd_show_messages_jobs(struct cmd_q *cmdq, int blank) { struct job *job; @@ -98,7 +98,7 @@ cmd_show_messages_jobs(struct cmd_q *cmdq, int blank) return (n != 0); } -enum cmd_retval +static enum cmd_retval cmd_show_messages_exec(struct cmd *self, struct cmd_q *cmdq) { struct args *args = self->args; |