Sync OpenBSD patchset 816:

Remove some unused defines.
This commit is contained in:
Tiago Cunha 2010-12-31 01:59:47 +00:00
parent 67b333ec84
commit f72f21951c
2 changed files with 3 additions and 6 deletions

View File

@ -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> * 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 = { const struct cmd_entry cmd_capture_pane_entry = {
"capture-pane", "capturep", "capture-pane", "capturep",
CMD_BUFFER_PANE_USAGE, "[-b buffer-index] [-t target-pane]",
0, "", 0, "",
cmd_capture_pane_init, cmd_capture_pane_init,
cmd_capture_pane_parse, cmd_capture_pane_parse,

5
tmux.h
View File

@ -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> * 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 **); int cmd_srcdst_parse(struct cmd *, int, char **, char **);
void cmd_srcdst_free(struct cmd *); void cmd_srcdst_free(struct cmd *);
size_t cmd_srcdst_print(struct cmd *, char *, size_t); 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]" #define CMD_BUFFER_USAGE "[-b buffer-index]"
void cmd_buffer_init(struct cmd *, int); void cmd_buffer_init(struct cmd *, int);
int cmd_buffer_parse(struct cmd *, int, char **, char **); int cmd_buffer_parse(struct cmd *, int, char **, char **);