aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2017-01-13 11:58:49 +0000
committernicm <nicm>2017-01-13 11:58:49 +0000
commit08d21936e4559a92174361d7785ca3e967972edb (patch)
tree999797436996e1bcc5ff29915313754bfe436d3b /tmux.h
parent22a528905d178551b9a374db2da673664f4203b3 (diff)
downloadrtmux-08d21936e4559a92174361d7785ca3e967972edb.tar.gz
rtmux-08d21936e4559a92174361d7785ca3e967972edb.tar.bz2
rtmux-08d21936e4559a92174361d7785ca3e967972edb.zip
options_get_style return const too.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tmux.h b/tmux.h
index 7d0be4f3..10591e51 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1630,13 +1630,13 @@ struct options_entry *options_find(struct options *, const char *);
void options_remove(struct options *, 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 *);
+const 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 *, int,
const char *);
-struct grid_cell *options_get_style(struct options *, const char *);
+const struct grid_cell *options_get_style(struct options *, const char *);
/* options-table.c */
extern const struct options_table_entry options_table[];