summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/paste.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tmux/paste.c')
-rw-r--r--usr.bin/tmux/paste.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/usr.bin/tmux/paste.c b/usr.bin/tmux/paste.c
index 01d4416213f..f6cf1c7c1ce 100644
--- a/usr.bin/tmux/paste.c
+++ b/usr.bin/tmux/paste.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: paste.c,v 1.9 2010/06/21 21:44:09 nicm Exp $ */
+/* $OpenBSD: paste.c,v 1.10 2010/12/30 23:16:18 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -29,19 +29,6 @@
* string!
*/
-void
-paste_init_stack(struct paste_stack *ps)
-{
- ARRAY_INIT(ps);
-}
-
-void
-paste_free_stack(struct paste_stack *ps)
-{
- while (paste_free_top(ps) == 0)
- ;
-}
-
/* Return each item of the stack in turn. */
struct paste_buffer *
paste_walk_stack(struct paste_stack *ps, uint *idx)