diff options
author | 2017-01-13 11:56:43 +0000 | |
---|---|---|
committer | 2017-01-13 11:56:43 +0000 | |
commit | 24a64db755276cf562b6dfb9e5a5816a72817b23 (patch) | |
tree | dde1b78d0c628abbbee07b75c80b956a3cccde8a /usr.bin/tmux/options.c | |
parent | Add -E to detach-client to exec a command to replace the client instead (diff) | |
download | wireguard-openbsd-24a64db755276cf562b6dfb9e5a5816a72817b23.tar.xz wireguard-openbsd-24a64db755276cf562b6dfb9e5a5816a72817b23.zip |
Make options_get_string return const string.
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 e31b6ba592e..9fe2735da0a 100644 --- a/usr.bin/tmux/options.c +++ b/usr.bin/tmux/options.c @@ -1,4 +1,4 @@ -/* $OpenBSD: options.c,v 1.22 2017/01/12 15:36:35 nicm Exp $ */ +/* $OpenBSD: options.c,v 1.23 2017/01/13 11:56:43 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -162,7 +162,7 @@ options_set_string(struct options *oo, const char *name, int append, return (o); } -char * +const char * options_get_string(struct options *oo, const char *name) { struct options_entry *o; |