Sync OpenBSD patchset 1002:

Add some const and fix a warning.
This commit is contained in:
Tiago Cunha
2012-01-20 21:21:32 +00:00
parent b7551c9193
commit 5434a2759a
4 changed files with 7 additions and 6 deletions

View File

@ -57,8 +57,8 @@ cmd_split_window_exec(struct cmd *self, struct cmd_ctx *ctx)
struct window *w;
struct window_pane *wp, *new_wp = NULL;
struct environ env;
char *cmd, *cwd, *cause, *new_cause;
const char *shell;
const char *cmd, *cwd, *shell;
char *cause, *new_cause;
u_int hlimit, paneidx;
int size, percentage;
enum layout_type type;