mirror of
https://github.com/tmux/tmux.git
synced 2024-12-13 01:48:47 +00:00
Fix constness of window_choose_add_item and _window.
This commit is contained in:
parent
544c80d715
commit
68e370574a
4
tmux.h
4
tmux.h
@ -2204,13 +2204,13 @@ void window_choose_data_free(struct window_choose_data *);
|
||||
void window_choose_data_run(struct window_choose_data *);
|
||||
struct window_choose_data *window_choose_add_window(struct window_pane *,
|
||||
struct client *, struct session *, struct winlink *,
|
||||
const char *, char *, u_int);
|
||||
const char *, const char *, u_int);
|
||||
struct window_choose_data *window_choose_add_session(struct window_pane *,
|
||||
struct client *, struct session *, const char *,
|
||||
const char *, u_int);
|
||||
struct window_choose_data *window_choose_add_item(struct window_pane *,
|
||||
struct client *, struct winlink *, const char *,
|
||||
char *, u_int);
|
||||
const char *, u_int);
|
||||
void window_choose_expand_all(struct window_pane *);
|
||||
|
||||
/* names.c */
|
||||
|
@ -887,7 +887,7 @@ window_choose_add_session(struct window_pane *wp, struct client *c,
|
||||
|
||||
struct window_choose_data *
|
||||
window_choose_add_item(struct window_pane *wp, struct client *c,
|
||||
struct winlink *wl, const char *template, char *action, u_int idx)
|
||||
struct winlink *wl, const char *template, const char *action, u_int idx)
|
||||
{
|
||||
struct window_choose_data *wcd;
|
||||
char *expanded;
|
||||
@ -918,7 +918,7 @@ window_choose_add_item(struct window_pane *wp, struct client *c,
|
||||
struct window_choose_data *
|
||||
window_choose_add_window(struct window_pane *wp, struct client *c,
|
||||
struct session *s, struct winlink *wl, const char *template,
|
||||
char *action, u_int idx)
|
||||
const char *action, u_int idx)
|
||||
{
|
||||
struct window_choose_data *wcd;
|
||||
char *expanded;
|
||||
|
Loading…
Reference in New Issue
Block a user