diff options
author | 2017-01-13 11:58:49 +0000 | |
---|---|---|
committer | 2017-01-13 11:58:49 +0000 | |
commit | 76a46bc8c36b2e4af44ae1dfc36688fd29ff05dc (patch) | |
tree | 83d13c6e1c5b5e5ccf308018073fd510d503e3ce /usr.bin/tmux/options.c | |
parent | Make options_get_string return const string. (diff) | |
download | wireguard-openbsd-76a46bc8c36b2e4af44ae1dfc36688fd29ff05dc.tar.xz wireguard-openbsd-76a46bc8c36b2e4af44ae1dfc36688fd29ff05dc.zip |
options_get_style return const too.
Diffstat (limited to 'usr.bin/tmux/options.c')
-rw-r--r-- | usr.bin/tmux/options.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/options.c b/usr.bin/tmux/options.c index 9fe2735da0a..bfc2d10c678 100644 --- a/usr.bin/tmux/options.c +++ b/usr.bin/tmux/options.c @@ -1,4 +1,4 @@ -/* $OpenBSD: options.c,v 1.23 2017/01/13 11:56:43 nicm Exp $ */ +/* $OpenBSD: options.c,v 1.24 2017/01/13 11:58:49 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -221,7 +221,7 @@ options_set_style(struct options *oo, const char *name, int append, return (o); } -struct grid_cell * +const struct grid_cell * options_get_style(struct options *oo, const char *name) { struct options_entry *o; |