From bf6d072124a960d3b84ae39cd15c5aeca2e41c88 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 12 Jan 2017 23:16:36 +0000 Subject: Types fix, first pass --- src/libs6/s6lock_wait_and.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libs6/s6lock_wait_and.c') diff --git a/src/libs6/s6lock_wait_and.c b/src/libs6/s6lock_wait_and.c index 460cc07..30c7a43 100644 --- a/src/libs6/s6lock_wait_and.c +++ b/src/libs6/s6lock_wait_and.c @@ -1,14 +1,14 @@ /* ISC license. */ +#include #include -#include #include #include #include -int s6lock_wait_and (s6lock_t *a, uint16 const *idlist, unsigned int n, tain_t const *deadline, tain_t *stamp) +int s6lock_wait_and (s6lock_t *a, uint16_t const *idlist, unsigned int n, tain_t const *deadline, tain_t *stamp) { - iopause_fd x = { -1, IOPAUSE_READ, 0 } ; + iopause_fd x = { .fd = -1, .events = IOPAUSE_READ, .revents = 0 } ; x.fd = s6lock_fd(a) ; for (; n ; n--, idlist++) { -- cgit v1.3.1