summaryrefslogtreecommitdiff
path: root/src/libstddjb/iopause_ppoll.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/iopause_ppoll.c')
-rw-r--r--src/libstddjb/iopause_ppoll.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstddjb/iopause_ppoll.c b/src/libstddjb/iopause_ppoll.c
index 0c571e1..336bf8e 100644
--- a/src/libstddjb/iopause_ppoll.c
+++ b/src/libstddjb/iopause_ppoll.c
@@ -11,12 +11,12 @@
#include <skalibs/tai.h>
#include <skalibs/iopause.h>
-int iopause_ppoll (iopause_fd *x, unsigned int len, tain_t const *deadline, tain_t const *stamp)
+int iopause_ppoll (iopause_fd *x, unsigned int len, tain const *deadline, tain const *stamp)
{
struct timespec ts = { .tv_sec = 0, .tv_nsec = 0 } ;
if (deadline && tain_less(stamp, deadline))
{
- tain_t delta ;
+ tain delta ;
tain_sub(&delta, deadline, stamp) ;
if (!timespec_from_tain_relative(&ts, &delta))
{
@@ -32,7 +32,7 @@ int iopause_ppoll (iopause_fd *x, unsigned int len, tain_t const *deadline, tain
#include <errno.h>
#include <skalibs/iopause.h>
-int iopause_ppoll (iopause_fd *x, unsigned int len, tain_t const *deadline, tain_t const *stamp)
+int iopause_ppoll (iopause_fd *x, unsigned int len, tain const *deadline, tain const *stamp)
{
(void)x ;
(void)len ;