summaryrefslogtreecommitdiff
path: root/misc.h
diff options
context:
space:
mode:
authordtucker@openbsd.org <dtucker@openbsd.org>2016-03-02 22:42:40 +0000
committerDamien Miller <djm@mindrot.org>2016-03-04 15:12:19 +1100
commitb8d4eafe29684fe4f5bb587f7eab948e6ed62723 (patch)
tree3bdc08a366a144ea37ee94907d62f21fa52d2f53 /misc.h
parent18f64b969c70ed00e74b9d8e50359dbe698ce4c0 (diff)
upstream commit
Improve precision of progressmeter for sftp and scp by storing sub-second timestamps. Pointed out by mmcc@, ok deraadt@ markus@ Upstream-ID: 38fd83a3d83dbf81c8ff7b5d1302382fe54970ab
Diffstat (limited to 'misc.h')
-rw-r--r--misc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc.h b/misc.h
index 374c33ce1..434e06c01 100644
--- a/misc.h
+++ b/misc.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: misc.h,v 1.54 2014/07/15 15:54:14 millert Exp $ */ 1/* $OpenBSD: misc.h,v 1.55 2016/03/02 22:42:40 dtucker Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -55,6 +55,7 @@ void sanitise_stdfd(void);
55void ms_subtract_diff(struct timeval *, int *); 55void ms_subtract_diff(struct timeval *, int *);
56void ms_to_timeval(struct timeval *, int); 56void ms_to_timeval(struct timeval *, int);
57time_t monotime(void); 57time_t monotime(void);
58double monotime_double(void);
58void lowercase(char *s); 59void lowercase(char *s);
59int unix_listener(const char *, int, int); 60int unix_listener(const char *, int, int);
60 61