From b08261b5bb18d5c3f3fece09c5c582679f6c8bbc Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 10 Aug 2021 17:59:16 +0000 Subject: Prepare for 2.2.3.3 ; adapt to skalibs-2.11.0.0 Signed-off-by: Laurent Bercot --- src/skaembutils/s6-head.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/skaembutils/s6-head.c') diff --git a/src/skaembutils/s6-head.c b/src/skaembutils/s6-head.c index 196f2c8..427d220 100644 --- a/src/skaembutils/s6-head.c +++ b/src/skaembutils/s6-head.c @@ -15,8 +15,8 @@ #define USAGE "s6-head [ -S ] [ -1..9 | -n lines | -c chars ] [ file... ]" #define dieusage() strerr_dieusage(100, USAGE) -typedef int headfunc_t (int, size_t) ; -typedef headfunc_t *headfunc_t_ref ; +typedef int hea$1_func (int, size_t) ; +typedef hea$1_func *hea$1_func_ref ; static int dolines (int fd, size_t lines) { @@ -76,12 +76,12 @@ static int safedochars (int fd, size_t chars) int main (int argc, char const *const *argv) { - headfunc_t_ref f ; + hea$1_func_ref f ; unsigned int lines = 10 ; int islines = 1, safe = 0 ; PROG = "s6-head" ; { - subgetopt_t l = SUBGETOPT_ZERO ; + subgetopt l = SUBGETOPT_ZERO ; int done = 0 ; for (;;) { -- cgit v1.3.1