summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2010-12-31 01:59:47 +0000
committerTiago Cunha <tcunha@gmx.com>2010-12-31 01:59:47 +0000
commitf72f21951cf7b63bd2c0399447d6d37f1b32b411 (patch)
tree75e572f75a5ecbfd8872972007f2d54bde07e765
parent67b333ec84b7ff431b7c7659a5c0cf907a7b9450 (diff)
Sync OpenBSD patchset 816:
Remove some unused defines.
-rw-r--r--cmd-capture-pane.c4
-rw-r--r--tmux.h5
2 files changed, 3 insertions, 6 deletions
diff --git a/cmd-capture-pane.c b/cmd-capture-pane.c
index fc991cbf..f894f24f 100644
--- a/cmd-capture-pane.c
+++ b/cmd-capture-pane.c
@@ -1,4 +1,4 @@
-/* $Id: cmd-capture-pane.c,v 1.4 2010-12-30 22:39:49 tcunha Exp $ */
+/* $Id: cmd-capture-pane.c,v 1.5 2010-12-31 01:59:47 tcunha Exp $ */
/*
* Copyright (c) 2009 Jonathan Alvarado <radobobo@users.sourceforge.net>
@@ -40,7 +40,7 @@ struct cmd_capture_pane_data {
const struct cmd_entry cmd_capture_pane_entry = {
"capture-pane", "capturep",
- CMD_BUFFER_PANE_USAGE,
+ "[-b buffer-index] [-t target-pane]",
0, "",
cmd_capture_pane_init,
cmd_capture_pane_parse,
diff --git a/tmux.h b/tmux.h
index 7d0c324c..dc843a10 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1,4 +1,4 @@
-/* $Id: tmux.h,v 1.594 2010-12-30 22:39:49 tcunha Exp $ */
+/* $Id: tmux.h,v 1.595 2010-12-31 01:59:47 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -1597,9 +1597,6 @@ void cmd_srcdst_init(struct cmd *, int);
int cmd_srcdst_parse(struct cmd *, int, char **, char **);
void cmd_srcdst_free(struct cmd *);
size_t cmd_srcdst_print(struct cmd *, char *, size_t);
-#define CMD_BUFFER_PANE_USAGE "[-b buffer-index] [-t target-pane]"
-#define CMD_BUFFER_WINDOW_USAGE "[-b buffer-index] [-t target-window]"
-#define CMD_BUFFER_CLIENT_USAGE "[-b buffer-index] [-t target-client]"
#define CMD_BUFFER_USAGE "[-b buffer-index]"
void cmd_buffer_init(struct cmd *, int);
int cmd_buffer_parse(struct cmd *, int, char **, char **);