From 32a81e197bce3b16113c7603a766773c1a5cdcaf Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 25 Apr 2019 18:18:55 +0000 Subject: Make options_tostring allocate its result instead of using a stack buffer (needed for something in the future). --- tmux.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index 31514e84..ab8142f7 100644 --- a/tmux.h +++ b/tmux.h @@ -1742,7 +1742,7 @@ u_int options_array_item_index(struct options_array_item *); union options_value *options_array_item_value(struct options_array_item *); int options_isarray(struct options_entry *); int options_isstring(struct options_entry *); -const char *options_tostring(struct options_entry *, int, int); +char *options_tostring(struct options_entry *, int, int); char *options_parse(const char *, int *); struct options_entry *options_parse_get(struct options *, const char *, int *, int); -- cgit