summaryrefslogtreecommitdiffstats
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2012-01-20 19:54:07 +0000
committerNicholas Marriott <nicm@openbsd.org>2012-01-20 19:54:07 +0000
commit83324133055d9906d99f9709970d0e258ac87f79 (patch)
treef8b87ae54e906e725b5367f3f933e7e0eb445669 /tmux.h
parent8cf19ab770e03f0dccc4731852a23d670b3ebad2 (diff)
Add some const and fix a warning.
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 dbb28c7e..effa15a1 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1565,7 +1565,7 @@ int cmd_find_index(
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_get_default_path(struct cmd_ctx *ctx);
+const char *cmd_get_default_path(struct cmd_ctx *ctx);
extern const struct cmd_entry *cmd_table[];
extern const struct cmd_entry cmd_attach_session_entry;
extern const struct cmd_entry cmd_bind_key_entry;