mirror of
https://github.com/tmate-io/tmate-ssh-server.git
synced 2020-11-18 19:53:51 -08: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 *);
|
void window_choose_data_run(struct window_choose_data *);
|
||||||
struct window_choose_data *window_choose_add_window(struct window_pane *,
|
struct window_choose_data *window_choose_add_window(struct window_pane *,
|
||||||
struct client *, struct session *, struct winlink *,
|
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 window_choose_data *window_choose_add_session(struct window_pane *,
|
||||||
struct client *, struct session *, const char *,
|
struct client *, struct session *, const char *,
|
||||||
const char *, u_int);
|
const char *, u_int);
|
||||||
struct window_choose_data *window_choose_add_item(struct window_pane *,
|
struct window_choose_data *window_choose_add_item(struct window_pane *,
|
||||||
struct client *, struct winlink *, const char *,
|
struct client *, struct winlink *, const char *,
|
||||||
char *, u_int);
|
const char *, u_int);
|
||||||
void window_choose_expand_all(struct window_pane *);
|
void window_choose_expand_all(struct window_pane *);
|
||||||
|
|
||||||
/* names.c */
|
/* names.c */
|
||||||
|
@ -887,7 +887,7 @@ window_choose_add_session(struct window_pane *wp, struct client *c,
|
|||||||
|
|
||||||
struct window_choose_data *
|
struct window_choose_data *
|
||||||
window_choose_add_item(struct window_pane *wp, struct client *c,
|
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;
|
struct window_choose_data *wcd;
|
||||||
char *expanded;
|
char *expanded;
|
||||||
@ -918,7 +918,7 @@ window_choose_add_item(struct window_pane *wp, struct client *c,
|
|||||||
struct window_choose_data *
|
struct window_choose_data *
|
||||||
window_choose_add_window(struct window_pane *wp, struct client *c,
|
window_choose_add_window(struct window_pane *wp, struct client *c,
|
||||||
struct session *s, struct winlink *wl, const char *template,
|
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;
|
struct window_choose_data *wcd;
|
||||||
char *expanded;
|
char *expanded;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user