summaryrefslogtreecommitdiff
path: root/usr.bin/tmux
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tmux')
-rw-r--r--usr.bin/tmux/paste.c6
-rw-r--r--usr.bin/tmux/tmux.h3
2 files changed, 2 insertions, 7 deletions
diff --git a/usr.bin/tmux/paste.c b/usr.bin/tmux/paste.c
index a00c876e74f..d7da3e13802 100644
--- a/usr.bin/tmux/paste.c
+++ b/usr.bin/tmux/paste.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: paste.c,v 1.5 2009/09/20 14:58:12 nicm Exp $ */
+/* $OpenBSD: paste.c,v 1.6 2009/11/03 17:17:24 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -116,8 +116,6 @@ paste_add(struct paste_stack *ps, u_char *data, size_t size, u_int limit)
pb->data = data;
pb->size = size;
- if (gettimeofday(&pb->tv, NULL) != 0)
- fatal("gettimeofday failed");
}
int
@@ -133,8 +131,6 @@ paste_replace(struct paste_stack *ps, u_int idx, u_char *data, size_t size)
pb->data = data;
pb->size = size;
- if (gettimeofday(&pb->tv, NULL) != 0)
- fatal("gettimeofday failed");
return (0);
}
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h
index 83f24a4bbe1..2813480138a 100644
--- a/usr.bin/tmux/tmux.h
+++ b/usr.bin/tmux/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.154 2009/11/02 20:18:22 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.155 2009/11/03 17:17:24 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -893,7 +893,6 @@ struct layout_cell {
struct paste_buffer {
char *data;
size_t size;
- struct timeval tv;
};
ARRAY_DECL(paste_stack, struct paste_buffer *);