diff options
Diffstat (limited to 'src/libstddjb/iopause_poll.c')
-rw-r--r-- | src/libstddjb/iopause_poll.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libstddjb/iopause_poll.c b/src/libstddjb/iopause_poll.c index 396122b..0c7c681 100644 --- a/src/libstddjb/iopause_poll.c +++ b/src/libstddjb/iopause_poll.c @@ -2,16 +2,17 @@ #include <errno.h> #include <poll.h> + #include <skalibs/tai.h> #include <skalibs/iopause.h> -int iopause_poll (iopause_fd *x, unsigned int len, tain_t const *deadline, tain_t const *stamp) +int iopause_poll (iopause_fd *x, unsigned int len, tain const *deadline, tain const *stamp) { int millisecs = 0 ; if (!deadline) millisecs = -1 ; else if (tain_less(stamp, deadline)) { - tain_t t ; + tain t ; tain_sub(&t, deadline, stamp) ; millisecs = tain_to_millisecs(&t) ; } |