aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2012-01-20 21:21:32 +0000
committerTiago Cunha <tcunha@gmx.com>2012-01-20 21:21:32 +0000
commit5434a2759ae3452bc11dc0b5e804e421a8c5d7a3 (patch)
tree3bbc9767121b9b541d5e05bf743f1cd4c6f27c6b /tmux.h
parentb7551c9193c6fe48c68a5555b9b51a9cc3f69511 (diff)
downloadrtmux-5434a2759ae3452bc11dc0b5e804e421a8c5d7a3.tar.gz
rtmux-5434a2759ae3452bc11dc0b5e804e421a8c5d7a3.tar.bz2
rtmux-5434a2759ae3452bc11dc0b5e804e421a8c5d7a3.zip
Sync OpenBSD patchset 1002:
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 afeba8b6..dcf29cad 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1561,7 +1561,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;