summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2009-06-25 06:00:46 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2009-06-25 06:00:46 +0000
commitaaf5a74225a162a6a323e92864faba19f9588690 (patch)
treef9d9d0edd9467e7be2c235c74ed9369e06a9087d
parent5dfe6801aa6b1855032a9f5ef2d0b16524e00b2d (diff)
Unused prototypes. Found by lint, no binary change.
-rw-r--r--usr.bin/tmux/cfg.c3
-rw-r--r--usr.bin/tmux/cmd-clear-history.c3
-rw-r--r--usr.bin/tmux/cmd-lock-server.c4
-rw-r--r--usr.bin/tmux/cmd-set-window-option.c7
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 <nicm@users.sourceforge.net>
@@ -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 <nicm@users.sourceforge.net>
@@ -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 <nicm@users.sourceforge.net>
@@ -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 <nicm@users.sourceforge.net>
@@ -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",