summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/paste.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2016-10-11 13:45:47 +0000
committernicm <nicm@openbsd.org>2016-10-11 13:45:47 +0000
commitc97fab4e3b26179fd8a5bc3a27b5fe81e63c243d (patch)
tree86da978d096d0ee89d503a1d0b0d0e21cdc3a507 /usr.bin/tmux/paste.c
parentAdd static in window-*.c and move some internal functions out of tmux.h. (diff)
downloadwireguard-openbsd-c97fab4e3b26179fd8a5bc3a27b5fe81e63c243d.tar.xz
wireguard-openbsd-c97fab4e3b26179fd8a5bc3a27b5fe81e63c243d.zip
Some other stuff that can be local to one file.
Diffstat (limited to 'usr.bin/tmux/paste.c')
-rw-r--r--usr.bin/tmux/paste.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tmux/paste.c b/usr.bin/tmux/paste.c
index 7def7bb846c..f164b715d97 100644
--- a/usr.bin/tmux/paste.c
+++ b/usr.bin/tmux/paste.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: paste.c,v 1.36 2016/10/10 13:54:47 nicm Exp $ */
+/* $OpenBSD: paste.c,v 1.37 2016/10/11 13:45:47 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -46,8 +46,8 @@ struct paste_buffer {
static u_int paste_next_index;
static u_int paste_next_order;
static u_int paste_num_automatic;
-RB_HEAD(paste_name_tree, paste_buffer) paste_by_name;
-RB_HEAD(paste_time_tree, paste_buffer) paste_by_time;
+static RB_HEAD(paste_name_tree, paste_buffer) paste_by_name;
+static RB_HEAD(paste_time_tree, paste_buffer) paste_by_time;
static int paste_cmp_names(const struct paste_buffer *,
const struct paste_buffer *);