summaryrefslogtreecommitdiffstats
path: root/cmd-show-messages.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2014-02-16 23:02:07 +0000
committerThomas Adam <thomas@xteddy.org>2014-02-16 23:02:07 +0000
commitb3de4a3dec85bc84bb83da6b46e2a8e2a634ace3 (patch)
tree8704cc16b1ed5380bcd7c678351d85adfd5907c8 /cmd-show-messages.c
parent8edbbb98656a76f0a25b5243b526709a67ae3531 (diff)
parent81db6bab91309e7cb42628048408c10504522a48 (diff)
Merge branch 'obsd-master'
Conflicts: tmux.1 tmux.c
Diffstat (limited to 'cmd-show-messages.c')
-rw-r--r--cmd-show-messages.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/cmd-show-messages.c b/cmd-show-messages.c
index 0905c32e..551966ed 100644
--- a/cmd-show-messages.c
+++ b/cmd-show-messages.c
@@ -48,12 +48,12 @@ const struct cmd_entry cmd_server_info_entry = {
cmd_show_messages_exec
};
-void cmd_show_messages_server (struct cmd_q *);
-void cmd_show_messages_terminals (struct cmd_q *);
-void cmd_show_messages_jobs (struct cmd_q *);
+void cmd_show_messages_server(struct cmd_q *);
+void cmd_show_messages_terminals(struct cmd_q *);
+void cmd_show_messages_jobs(struct cmd_q *);
void
-cmd_show_messages_server (struct cmd_q *cmdq)
+cmd_show_messages_server(struct cmd_q *cmdq)
{
char *tim;
@@ -67,7 +67,7 @@ cmd_show_messages_server (struct cmd_q *cmdq)
}
void
-cmd_show_messages_terminals (struct cmd_q *cmdq)
+cmd_show_messages_terminals(struct cmd_q *cmdq)
{
struct tty_term *term;
const struct tty_term_code_entry *ent;
@@ -110,7 +110,7 @@ cmd_show_messages_terminals (struct cmd_q *cmdq)
}
void
-cmd_show_messages_jobs (struct cmd_q *cmdq)
+cmd_show_messages_jobs(struct cmd_q *cmdq)
{
struct job *job;
u_int n;
@@ -135,20 +135,20 @@ cmd_show_messages_exec(struct cmd *self, struct cmd_q *cmdq)
int done;
done = 0;
- if (args_has (args, 'I') || self->entry == &cmd_server_info_entry) {
- cmd_show_messages_server (cmdq);
+ if (args_has(args, 'I') || self->entry == &cmd_server_info_entry) {
+ cmd_show_messages_server(cmdq);
done = 1;
}
- if (args_has (args, 'T') || self->entry == &cmd_server_info_entry) {
+ if (args_has(args, 'T') || self->entry == &cmd_server_info_entry) {
if (done)
- cmdq_print (cmdq, "%s", "");
- cmd_show_messages_terminals (cmdq);
+ cmdq_print(cmdq, "%s", "");
+ cmd_show_messages_terminals(cmdq);
done = 1;
}
- if (args_has (args, 'J') || self->entry == &cmd_server_info_entry) {
+ if (args_has(args, 'J') || self->entry == &cmd_server_info_entry) {
if (done)
- cmdq_print (cmdq, "%s", "");
- cmd_show_messages_jobs (cmdq);
+ cmdq_print(cmdq, "%s", "");
+ cmd_show_messages_jobs(cmdq);
done = 1;
}
if (done)