From 9144d308484e85d757592698dbce3a7b4cfeee53 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 25 Jun 2009 06:00:45 +0000 Subject: [PATCH] Unused prototypes. Found by lint, no binary change. --- cfg.c | 1 - cmd-clear-history.c | 1 - cmd-lock-server.c | 2 -- cmd-set-window-option.c | 5 ----- 4 files changed, 9 deletions(-) diff --git a/cfg.c b/cfg.c index e4278e14..fa5e1b05 100644 --- a/cfg.c +++ b/cfg.c @@ -30,7 +30,6 @@ * argv array and executed as a command. */ -char *cfg_string(FILE *, char, int); void printflike2 cfg_print(struct cmd_ctx *, const char *, ...); void printflike2 cfg_error(struct cmd_ctx *, const char *, ...); diff --git a/cmd-clear-history.c b/cmd-clear-history.c index 0c08f9b5..4399c6c2 100644 --- a/cmd-clear-history.c +++ b/cmd-clear-history.c @@ -24,7 +24,6 @@ * Clear pane history. */ -void cmd_clear_history_init(struct cmd *, int); int cmd_clear_history_exec(struct cmd *, struct cmd_ctx *); const struct cmd_entry cmd_clear_history_entry = { diff --git a/cmd-lock-server.c b/cmd-lock-server.c index 5dac3292..74b7b622 100644 --- a/cmd-lock-server.c +++ b/cmd-lock-server.c @@ -30,8 +30,6 @@ int cmd_lock_server_exec(struct cmd *, struct cmd_ctx *); -int cmd_lock_server_callback(void *, const char *); - const struct cmd_entry cmd_lock_server_entry = { "lock-server", "lock", "", diff --git a/cmd-set-window-option.c b/cmd-set-window-option.c index 8d17498e..cc9bf963 100644 --- a/cmd-set-window-option.c +++ b/cmd-set-window-option.c @@ -27,12 +27,7 @@ * Set a window option. */ -int cmd_set_window_option_parse(struct cmd *, int, char **, char **); int cmd_set_window_option_exec(struct cmd *, struct cmd_ctx *); -void cmd_set_window_option_send(struct cmd *, struct buffer *); -void cmd_set_window_option_recv(struct cmd *, struct buffer *); -void cmd_set_window_option_free(struct cmd *); -size_t cmd_set_window_option_print(struct cmd *, char *, size_t); const struct cmd_entry cmd_set_window_option_entry = { "set-window-option", "setw",