aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2019-04-25 18:18:55 +0000
committernicm <nicm>2019-04-25 18:18:55 +0000
commit32a81e197bce3b16113c7603a766773c1a5cdcaf (patch)
tree64a3819ff876c804c171a01e6444fda3dc7ff465 /tmux.h
parent1677bb0deaa0e5c3e962e36ce98076b0db8507f6 (diff)
downloadrtmux-32a81e197bce3b16113c7603a766773c1a5cdcaf.tar.gz
rtmux-32a81e197bce3b16113c7603a766773c1a5cdcaf.tar.bz2
rtmux-32a81e197bce3b16113c7603a766773c1a5cdcaf.zip
Make options_tostring allocate its result instead of using a stack
buffer (needed for something in the future).
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h2
1 files changed, 1 insertions, 1 deletions
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);