summaryrefslogtreecommitdiff
path: root/src/supervision/s6-notifyoncheck.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-08-09 23:42:35 +0000
committerLaurent Bercot <ska@appnovation.com>2021-08-09 23:42:35 +0000
commitaaea6322e9e765969f452764e51ca1ddd9783264 (patch)
tree4e863537677e0266a79c4045c47a5e6b9f64a1a8 /src/supervision/s6-notifyoncheck.c
parentce2977ee9195612730bc8713f142c95f79605e75 (diff)
downloads6-aaea6322e9e765969f452764e51ca1ddd9783264.tar.xz
skalibs-2.11.0.0 API change
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/supervision/s6-notifyoncheck.c')
-rw-r--r--src/supervision/s6-notifyoncheck.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/supervision/s6-notifyoncheck.c b/src/supervision/s6-notifyoncheck.c
index a1ec7ff..a4d0ab1 100644
--- a/src/supervision/s6-notifyoncheck.c
+++ b/src/supervision/s6-notifyoncheck.c
@@ -91,13 +91,13 @@ int main (int argc, char const *const *argv, char const *const *envp)
int df = 0 ;
int autodetect = 1 ;
int p[2] ;
- tain_t globaldeadline, sleeptto, localtto, waittto ;
+ tain globaldeadline, sleeptto, localtto, waittto ;
unsigned int tries = 7 ;
uint16_t id ;
PROG = "s6-notifyoncheck" ;
{
- subgetopt_t l = SUBGETOPT_ZERO ;
+ subgetopt l = SUBGETOPT_ZERO ;
unsigned int initialsleep = 10, globaltimeout = 0, localtimeout = 0, waitingtime = 1000 ;
for (;;)
{
@@ -211,8 +211,8 @@ int main (int argc, char const *const *argv, char const *const *envp)
while (tries == UINT_MAX || tries--)
{
- tain_t deadline = globaldeadline ;
- tain_t localdeadline ;
+ tain deadline = globaldeadline ;
+ tain localdeadline ;
pid_t pid ;
tain_add_g(&localdeadline, &sleeptto) ;