diff options
author | 2016-10-10 21:51:39 +0000 | |
---|---|---|
committer | 2016-10-10 21:51:39 +0000 | |
commit | dc1f0f5f6762d20526d28a4fea8505b8be833e1c (patch) | |
tree | 014a6f76677b5aa63dc7adf2af341d2ac92983f8 /usr.bin/tmux/cmd-paste-buffer.c | |
parent | Loads more static, except for cmd-*.c and window-*.c. (diff) | |
download | wireguard-openbsd-dc1f0f5f6762d20526d28a4fea8505b8be833e1c.tar.xz wireguard-openbsd-dc1f0f5f6762d20526d28a4fea8505b8be833e1c.zip |
Add static in cmd-* and fix a few other nits.
Diffstat (limited to 'usr.bin/tmux/cmd-paste-buffer.c')
-rw-r--r-- | usr.bin/tmux/cmd-paste-buffer.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/usr.bin/tmux/cmd-paste-buffer.c b/usr.bin/tmux/cmd-paste-buffer.c index 3b13cbda586..33553a26858 100644 --- a/usr.bin/tmux/cmd-paste-buffer.c +++ b/usr.bin/tmux/cmd-paste-buffer.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-paste-buffer.c,v 1.34 2016/01/19 15:59:12 nicm Exp $ */ +/* $OpenBSD: cmd-paste-buffer.c,v 1.35 2016/10/10 21:51:39 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -28,10 +28,7 @@ * Paste paste buffer if present. */ -enum cmd_retval cmd_paste_buffer_exec(struct cmd *, struct cmd_q *); - -void cmd_paste_buffer_filter(struct window_pane *, - const char *, size_t, const char *, int); +static enum cmd_retval cmd_paste_buffer_exec(struct cmd *, struct cmd_q *); const struct cmd_entry cmd_paste_buffer_entry = { .name = "paste-buffer", @@ -47,7 +44,7 @@ const struct cmd_entry cmd_paste_buffer_entry = { .exec = cmd_paste_buffer_exec }; -enum cmd_retval +static enum cmd_retval cmd_paste_buffer_exec(struct cmd *self, struct cmd_q *cmdq) { struct args *args = self->args; |