From abb5e3619940be874fcce77d9bc00ed49a8c3e68 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 25 Jun 2009 16:06:09 +0000 Subject: [PATCH] Unused prototypes. Found by lint, no binary change. --- cfg.c | 3 +-- cmd-clear-history.c | 3 +-- cmd-lock-server.c | 4 +--- cmd-set-window-option.c | 7 +------ 4 files changed, 4 insertions(+), 13 deletions(-) diff --git a/cfg.c b/cfg.c index e0f3f2a3..13a03ef1 100644 --- a/cfg.c +++ b/cfg.c @@ -1,4 +1,4 @@ -/* $Id: cfg.c,v 1.16 2009-05-21 19:38:51 nicm Exp $ */ +/* $OpenBSD: cfg.c,v 1.2 2009/06/25 06:00:45 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott @@ -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 bf9d09de..95c9992a 100644 --- a/cmd-clear-history.c +++ b/cmd-clear-history.c @@ -1,4 +1,4 @@ -/* $Id: cmd-clear-history.c,v 1.1 2009-05-14 16:56:23 nicm Exp $ */ +/* $OpenBSD: cmd-clear-history.c,v 1.2 2009/06/25 06:00:45 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott @@ -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 102898ad..52352c0f 100644 --- a/cmd-lock-server.c +++ b/cmd-lock-server.c @@ -1,4 +1,4 @@ -/* $Id: cmd-lock-server.c,v 1.2 2009-01-19 18:23:40 nicm Exp $ */ +/* $OpenBSD: cmd-lock-server.c,v 1.2 2009/06/25 06:00:45 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott @@ -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 488bdfb1..64c14c06 100644 --- a/cmd-set-window-option.c +++ b/cmd-set-window-option.c @@ -1,4 +1,4 @@ -/* $Id: cmd-set-window-option.c,v 1.26 2009-05-19 13:32:55 tcunha Exp $ */ +/* $OpenBSD: cmd-set-window-option.c,v 1.2 2009/06/25 06:00:45 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott @@ -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",