Move initial conf load into cfg.c.

This commit is contained in:
nicm
2015-09-01 10:01:56 +00:00
parent 2a836bc306
commit 83157c02d6
3 changed files with 40 additions and 27 deletions

3
tmux.h
View File

@ -1420,12 +1420,11 @@ void setblocking(int, int);
const char *find_home(void);
/* cfg.c */
extern struct cmd_q *cfg_cmd_q;
extern int cfg_finished;
extern int cfg_references;
extern struct client *cfg_client;
void start_cfg(void);
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 *);