about summary refs log tree commit diff
path: root/src/skaembutils/s6-sleep.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-08-10 17:59:16 +0000
committerLaurent Bercot <ska@appnovation.com>2021-08-10 17:59:16 +0000
commitb08261b5bb18d5c3f3fece09c5c582679f6c8bbc (patch)
tree799d6371a02c2a313eb00aa97c98e9c2d2a0d2e8 /src/skaembutils/s6-sleep.c
parent064b149613eae9a74a6fa91f062f253b816785c3 (diff)
downloads6-portable-utils-b08261b5bb18d5c3f3fece09c5c582679f6c8bbc.tar.gz
s6-portable-utils-b08261b5bb18d5c3f3fece09c5c582679f6c8bbc.tar.xz
s6-portable-utils-b08261b5bb18d5c3f3fece09c5c582679f6c8bbc.zip
Prepare for 2.2.3.3 ; adapt to skalibs-2.11.0.0
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/skaembutils/s6-sleep.c')
-rw-r--r--src/skaembutils/s6-sleep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/skaembutils/s6-sleep.c b/src/skaembutils/s6-sleep.c
index 83d8c3d..8f48679 100644
--- a/src/skaembutils/s6-sleep.c
+++ b/src/skaembutils/s6-sleep.c
@@ -15,7 +15,7 @@ int main (int argc, char const *const *argv)
   int milli = 0 ;
   PROG = "s6-sleep" ;
   {
-    subgetopt_t l = SUBGETOPT_ZERO ;
+    subgetopt l = SUBGETOPT_ZERO ;
     for (;;)
     {
       int opt = subgetopt_r(argc, argv, "m", &l) ;
@@ -32,7 +32,7 @@ int main (int argc, char const *const *argv)
   if (!uint0_scan(argv[0], &n)) strerr_dieusage(100, USAGE) ;
 
   {
-    tain_t deadline ;
+    tain deadline ;
     if (milli) tain_from_millisecs(&deadline, n) ;
     else tain_uint(&deadline, n) ;
     tain_now_set_stopwatch_g() ;