diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2017-01-13 11:58:50 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2017-01-13 11:58:50 +0000 |
commit | 3d039c4cd5233af467d3fe00c65cf1a3aecea4f7 (patch) | |
tree | 2d9a9ddc6bc4f9930fe988abf2e35c728f696579 /usr.bin/tmux/options.c | |
parent | bf2d2fa8df4913d6d744a11c441e33c99c2c314b (diff) |
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; |