From d51d7cd47124b31ff703cd1f65d17ab936d93b6e Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 9 Aug 2021 23:55:41 +0000 Subject: Adapt to skalibs-2.11.0.0 Signed-off-by: Laurent Bercot --- src/alias/s6-frontend-alias.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/alias/s6-frontend-alias.c') diff --git a/src/alias/s6-frontend-alias.c b/src/alias/s6-frontend-alias.c index f786bba..89d7e39 100644 --- a/src/alias/s6-frontend-alias.c +++ b/src/alias/s6-frontend-alias.c @@ -22,15 +22,15 @@ static unsigned int verbosity = 0 ; -typedef void execfunc_t (int, char const *const *) ; -typedef execfunc_t *execfunc_t_ref ; +typedef void exec_func (int, char const *const *) ; +typedef exec_func *exec_func_ref ; typedef struct info_s info_t, *info_t_ref ; struct info_s { char const *name ; char const *cmd ; - execfunc_t_ref f ; + exec_func_ref f ; } ; static int info_cmp (void const *a, void const *b) @@ -92,7 +92,7 @@ static void runsvdir (int argc, char const *const *argv) { char const *newargv[4] = { S6_EXTBINPREFIX "s6-svscan", "-t14000", 0, 0 } ; int dosetsid = 0 ; - subgetopt_t l = SUBGETOPT_ZERO ; + subgetopt l = SUBGETOPT_ZERO ; for (;;) { int opt = subgetopt_r(argc, argv, "P", &l) ; @@ -197,7 +197,7 @@ int main (int argc, char const **argv) if (!sabasename(&sa, name, strlen(name)) || !stralloc_0(&sa)) dienomem() ; if (!strcmp(sa.s, PROG)) { - subgetopt_t l = SUBGETOPT_ZERO ; + subgetopt l = SUBGETOPT_ZERO ; for (;;) { int opt = subgetopt_r(argc, argv, "v", &l) ; -- cgit v1.3.1