summaryrefslogtreecommitdiff
path: root/misc.h
diff options
context:
space:
mode:
authorderaadt@openbsd.org <deraadt@openbsd.org>2021-11-13 21:14:13 +0000
committerDamien Miller <djm@mindrot.org>2021-11-18 09:09:59 +1100
commit6582a31c388968f4073af2bd8621880735c3d42b (patch)
treeda5704116e32132963b6fc5e317784db44725a33 /misc.h
parent7c025c005550c86a40200a2bcdd355d09413d61a (diff)
downloadopenssh-git-6582a31c388968f4073af2bd8621880735c3d42b.tar.gz
upstream: replace select() with ppoll(), including converting
timeval's to timespec's to make things easier. back and forth and ok; djm OpenBSD-Commit-ID: 89d3b23c60875da919e7820f9de6213286ffbec9
Diffstat (limited to 'misc.h')
-rw-r--r--misc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc.h b/misc.h
index 2e2dca54..2e1b5fec 100644
--- a/misc.h
+++ b/misc.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: misc.h,v 1.98 2021/08/09 23:47:44 djm Exp $ */
+/* $OpenBSD: misc.h,v 1.99 2021/11/13 21:14:13 deraadt Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -82,7 +82,7 @@ void xextendf(char **s, const char *sep, const char *fmt, ...)
__attribute__((__format__ (printf, 3, 4))) __attribute__((__nonnull__ (3)));
void sanitise_stdfd(void);
void ms_subtract_diff(struct timeval *, int *);
-void ms_to_timeval(struct timeval *, int);
+void ms_to_timespec(struct timespec *, int);
void monotime_ts(struct timespec *);
void monotime_tv(struct timeval *);
time_t monotime(void);