From da067193091c957b88770902cd49b9b0dece0836 Mon Sep 17 00:00:00 2001 From: jsg Date: Sat, 18 May 2024 08:50:11 +0000 Subject: [PATCH 1/2] remove externs with no matching var; ok nicm@ --- cmd.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/cmd.c b/cmd.c index c176edbd..9e2ce036 100644 --- a/cmd.c +++ b/cmd.c @@ -48,7 +48,6 @@ extern const struct cmd_entry cmd_display_menu_entry; extern const struct cmd_entry cmd_display_message_entry; extern const struct cmd_entry cmd_display_popup_entry; extern const struct cmd_entry cmd_display_panes_entry; -extern const struct cmd_entry cmd_down_pane_entry; extern const struct cmd_entry cmd_find_window_entry; extern const struct cmd_entry cmd_has_session_entry; extern const struct cmd_entry cmd_if_shell_entry; @@ -118,7 +117,6 @@ extern const struct cmd_entry cmd_swap_window_entry; extern const struct cmd_entry cmd_switch_client_entry; extern const struct cmd_entry cmd_unbind_key_entry; extern const struct cmd_entry cmd_unlink_window_entry; -extern const struct cmd_entry cmd_up_pane_entry; extern const struct cmd_entry cmd_wait_for_entry; const struct cmd_entry *cmd_table[] = { From 03de52653ed845e43e25ccd17498f028dc618fe8 Mon Sep 17 00:00:00 2001 From: jsg Date: Sat, 18 May 2024 08:51:26 +0000 Subject: [PATCH 2/2] remove prototypes with no matching function; ok nicm@ --- tmux.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tmux.h b/tmux.h index 7900ea05..d29f570d 100644 --- a/tmux.h +++ b/tmux.h @@ -2352,7 +2352,6 @@ void tty_cmd_clearstartofscreen(struct tty *, const struct tty_ctx *); void tty_cmd_deletecharacter(struct tty *, const struct tty_ctx *); void tty_cmd_clearcharacter(struct tty *, const struct tty_ctx *); void tty_cmd_deleteline(struct tty *, const struct tty_ctx *); -void tty_cmd_erasecharacter(struct tty *, const struct tty_ctx *); void tty_cmd_insertcharacter(struct tty *, const struct tty_ctx *); void tty_cmd_insertline(struct tty *, const struct tty_ctx *); void tty_cmd_linefeed(struct tty *, const struct tty_ctx *); @@ -2524,7 +2523,6 @@ enum cmd_retval cmd_attach_session(struct cmdq_item *, const char *, int, int, int, const char *, int, const char *); /* cmd-parse.c */ -void cmd_parse_empty(struct cmd_parse_input *); struct cmd_parse_result *cmd_parse_from_file(FILE *, struct cmd_parse_input *); struct cmd_parse_result *cmd_parse_from_string(const char *, struct cmd_parse_input *); @@ -2684,8 +2682,6 @@ void server_client_suspend(struct client *); void server_client_detach(struct client *, enum msgtype); void server_client_exec(struct client *, const char *); void server_client_loop(void); -void server_client_push_stdout(struct client *); -void server_client_push_stderr(struct client *); const char *server_client_get_cwd(struct client *, struct session *); void server_client_set_flags(struct client *, const char *); const char *server_client_get_flags(struct client *); @@ -3246,8 +3242,6 @@ char *session_check_name(const char *); void session_update_activity(struct session *, struct timeval *); struct session *session_next_session(struct session *); struct session *session_previous_session(struct session *); -struct winlink *session_new(struct session *, const char *, int, char **, - const char *, const char *, int, char **); struct winlink *session_attach(struct session *, struct window *, int, char **); int session_detach(struct session *, struct winlink *);