diff options
author | deraadt@openbsd.org <deraadt@openbsd.org> | 2021-11-13 22:14:13 +0100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2021-11-17 23:09:59 +0100 |
commit | 6582a31c388968f4073af2bd8621880735c3d42b (patch) | |
tree | da5704116e32132963b6fc5e317784db44725a33 /misc.h | |
parent | upstream: It really looks like pledge "stdio dns" is possible (diff) | |
download | openssh-6582a31c388968f4073af2bd8621880735c3d42b.tar.xz openssh-6582a31c388968f4073af2bd8621880735c3d42b.zip |
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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |