diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2017-01-12 15:36:36 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2017-01-12 15:36:36 +0000 |
commit | 4b97d16f4355cfe6ec7e41d5c0f4c90270683016 (patch) | |
tree | 0347104a6c0ea69a28f3d89d5a99203fe9a3ddb6 /usr.bin/tmux/tmux.h | |
parent | a630d9b556b7c89a473722e1b53b7c87fe9c843d (diff) |
Simplify appending to string options.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r-- | usr.bin/tmux/tmux.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h index 4b9cfd767e1..df3ff0b550f 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.692 2017/01/12 10:15:55 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.693 2017/01/12 15:36:35 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -1627,14 +1627,14 @@ struct options_entry *options_next(struct options_entry *); struct options_entry *options_find1(struct options *, const char *); struct options_entry *options_find(struct options *, const char *); void options_remove(struct options *, const char *); -struct options_entry *printflike(3, 4) options_set_string(struct options *, - const char *, const char *, ...); +struct options_entry * printflike(4, 5) options_set_string(struct options *, + const char *, int, const char *, ...); char *options_get_string(struct options *, const char *); struct options_entry *options_set_number(struct options *, const char *, long long); long long options_get_number(struct options *, const char *); -struct options_entry *options_set_style(struct options *, const char *, - const char *, int); +struct options_entry *options_set_style(struct options *, const char *, int, + const char *); struct grid_cell *options_get_style(struct options *, const char *); /* options-table.c */ |