aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2015-02-05 10:26:29 +0000
committernicm <nicm>2015-02-05 10:26:29 +0000
commite5d9ceff18e37320b9243d24204a0a79d77172e4 (patch)
treedef053355296b4c0e6a156c25f3e4160e6698617 /tmux.h
parentc9642ee21367f0bf2b17b423d7155c88138aa9fc (diff)
downloadrtmux-e5d9ceff18e37320b9243d24204a0a79d77172e4.tar.gz
rtmux-e5d9ceff18e37320b9243d24204a0a79d77172e4.tar.bz2
rtmux-e5d9ceff18e37320b9243d24204a0a79d77172e4.zip
There is no need to save the guard state because the function checks it
again anyway.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index 6b974698..da8d3bfe 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1832,7 +1832,7 @@ struct cmd_q *cmdq_new(struct client *);
int cmdq_free(struct cmd_q *);
void printflike(2, 3) cmdq_print(struct cmd_q *, const char *, ...);
void printflike(2, 3) cmdq_error(struct cmd_q *, const char *, ...);
-int cmdq_guard(struct cmd_q *, const char *, int);
+void cmdq_guard(struct cmd_q *, const char *, int);
void cmdq_run(struct cmd_q *, struct cmd_list *);
void cmdq_append(struct cmd_q *, struct cmd_list *);
int cmdq_continue(struct cmd_q *);