Add some const and fix a warning.

This commit is contained in:
Nicholas Marriott
2012-01-20 19:54:07 +00:00
parent 8cf19ab770
commit 8332413305
4 changed files with 7 additions and 6 deletions

2
tmux.h
View File

@ -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;