diff --git a/paste.c b/paste.c index 69579e07..1cd83bff 100644 --- a/paste.c +++ b/paste.c @@ -1,4 +1,4 @@ -/* $Id: paste.c,v 1.10 2009-09-20 22:11:27 tcunha Exp $ */ +/* $Id: paste.c,v 1.11 2009-11-04 22:39:20 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -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/tmux.h b/tmux.h index 04ecf58c..52fd2a65 100644 --- a/tmux.h +++ b/tmux.h @@ -1,4 +1,4 @@ -/* $Id: tmux.h,v 1.492 2009-11-04 22:37:18 tcunha Exp $ */ +/* $Id: tmux.h,v 1.493 2009-11-04 22:39:20 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -891,7 +891,6 @@ struct layout_cell { struct paste_buffer { char *data; size_t size; - struct timeval tv; }; ARRAY_DECL(paste_stack, struct paste_buffer *);