diff options
author | nicm <nicm> | 2014-10-27 22:23:47 +0000 |
---|---|---|
committer | nicm <nicm> | 2014-10-27 22:23:47 +0000 |
commit | b496b1fe11b99614e407d02edb1a21905f384929 (patch) | |
tree | 04f86af517474a5486ba8767bc2cdc8c5e102d26 /tmux.h | |
parent | 428b51e03187f13ccaf1451fb89d53848facab6d (diff) | |
download | rtmux-b496b1fe11b99614e407d02edb1a21905f384929.tar.gz rtmux-b496b1fe11b99614e407d02edb1a21905f384929.tar.bz2 rtmux-b496b1fe11b99614e407d02edb1a21905f384929.zip |
Move cfg_causes local into cfg.c and remove struct causelist.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -381,9 +381,6 @@ struct tty_term_code_entry { const char *name; }; -/* List of error causes. */ -ARRAY_DECL(causelist, char *); - /* Message codes. */ enum msgtype { MSG_VERSION = 12, @@ -1500,10 +1497,11 @@ __dead void shell_exec(const char *, const char *); extern struct cmd_q *cfg_cmd_q; extern int cfg_finished; extern int cfg_references; -extern struct causelist cfg_causes; extern struct client *cfg_client; int load_cfg(const char *, struct cmd_q *, char **); void cfg_default_done(struct cmd_q *); +void cfg_add_cause(const char *, ...); +void cfg_print_causes(struct cmd_q *); void cfg_show_causes(struct session *); /* format.c */ |