diff options
author | Tim van der Molen <tim@cvs.openbsd.org> | 2016-05-12 16:05:34 +0000 |
---|---|---|
committer | Tim van der Molen <tim@cvs.openbsd.org> | 2016-05-12 16:05:34 +0000 |
commit | 1c66316a9ed260cf9014e2cbc38e5351fd23021f (patch) | |
tree | 7bfe2c950c05f0e4a11a96c2876e8b9d83b8627f /usr.bin/tmux/tmux.h | |
parent | 08c5a0c1f0536255a77e41a6413366acce1cfdd3 (diff) |
- Rework load_cfg() error handling a little.
- Add -q to source-file to suppress errors about nonexistent files.
Input and OK nicm@
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r-- | usr.bin/tmux/tmux.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h index 46ecf21ade8..5a24d0e03ab 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.629 2016/05/01 13:39:05 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.630 2016/05/12 16:05:33 tim Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -1555,7 +1555,7 @@ 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 **); +int load_cfg(const char *, struct cmd_q *, int); void set_cfg_file(const char *); void printflike(1, 2) cfg_add_cause(const char *, ...); void cfg_print_causes(struct cmd_q *); |