aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2013-02-13 10:19:43 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2013-02-13 10:19:43 +0000
commit544c80d71534adc8f2d3843d06b01655dc02f1a9 (patch)
treee221f6ba1f0161c45f100366fb496ace3e053c57 /tmux.h
parent36fe146a74230e5072c367a9987b6c021320c0dd (diff)
downloadrtmux-544c80d71534adc8f2d3843d06b01655dc02f1a9.tar.gz
rtmux-544c80d71534adc8f2d3843d06b01655dc02f1a9.tar.bz2
rtmux-544c80d71534adc8f2d3843d06b01655dc02f1a9.zip
Fix constness of cmd_template_replace.
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 78a5c81d..2b4a68b6 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1720,7 +1720,7 @@ int cmd_find_index(
struct cmd_ctx *, const char *, struct session **);
struct winlink *cmd_find_pane(struct cmd_ctx *,
const char *, struct session **, struct window_pane **);
-char *cmd_template_replace(char *, const char *, int);
+char *cmd_template_replace(const char *, const char *, int);
const char *cmd_get_default_path(struct cmd_ctx *, const char *);
extern const struct cmd_entry *cmd_table[];
extern const struct cmd_entry cmd_attach_session_entry;
@@ -2207,7 +2207,7 @@ struct window_choose_data *window_choose_add_window(struct window_pane *,
const char *, char *, u_int);
struct window_choose_data *window_choose_add_session(struct window_pane *,
struct client *, struct session *, const char *,
- char *, u_int);
+ const char *, u_int);
struct window_choose_data *window_choose_add_item(struct window_pane *,
struct client *, struct winlink *, const char *,
char *, u_int);