From aaf5a74225a162a6a323e92864faba19f9588690 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 25 Jun 2009 06:00:46 +0000 Subject: Unused prototypes. Found by lint, no binary change. --- usr.bin/tmux/cfg.c | 3 +-- usr.bin/tmux/cmd-clear-history.c | 3 +-- usr.bin/tmux/cmd-lock-server.c | 4 +--- usr.bin/tmux/cmd-set-window-option.c | 7 +------ 4 files changed, 4 insertions(+), 13 deletions(-) diff --git a/usr.bin/tmux/cfg.c b/usr.bin/tmux/cfg.c index 2eb035c679b..13a03ef12e2 100644 --- a/usr.bin/tmux/cfg.c +++ b/usr.bin/tmux/cfg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cfg.c,v 1.1 2009/06/01 22:58:49 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/usr.bin/tmux/cmd-clear-history.c b/usr.bin/tmux/cmd-clear-history.c index a15afa8388d..95c9992ab4e 100644 --- a/usr.bin/tmux/cmd-clear-history.c +++ b/usr.bin/tmux/cmd-clear-history.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-clear-history.c,v 1.1 2009/06/01 22:58:49 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/usr.bin/tmux/cmd-lock-server.c b/usr.bin/tmux/cmd-lock-server.c index e0c3ab60655..52352c0ff7f 100644 --- a/usr.bin/tmux/cmd-lock-server.c +++ b/usr.bin/tmux/cmd-lock-server.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-lock-server.c,v 1.1 2009/06/01 22:58:49 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/usr.bin/tmux/cmd-set-window-option.c b/usr.bin/tmux/cmd-set-window-option.c index 9995fd3c2cf..64c14c06df4 100644 --- a/usr.bin/tmux/cmd-set-window-option.c +++ b/usr.bin/tmux/cmd-set-window-option.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-set-window-option.c,v 1.1 2009/06/01 22:58:49 nicm 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", -- cgit v1.2.3