diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2021-08-10 17:59:16 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2021-08-10 17:59:16 +0000 |
commit | b08261b5bb18d5c3f3fece09c5c582679f6c8bbc (patch) | |
tree | 799d6371a02c2a313eb00aa97c98e9c2d2a0d2e8 /src/skaembutils/s6-tail.c | |
parent | 064b149613eae9a74a6fa91f062f253b816785c3 (diff) | |
download | s6-portable-utils-b08261b5bb18d5c3f3fece09c5c582679f6c8bbc.tar.xz |
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-tail.c')
-rw-r--r-- | src/skaembutils/s6-tail.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/skaembutils/s6-tail.c b/src/skaembutils/s6-tail.c index 7023505..68764f5 100644 --- a/src/skaembutils/s6-tail.c +++ b/src/skaembutils/s6-tail.c @@ -14,8 +14,8 @@ #define USAGE "s6-tail [ -c chars | -n lines | -1..9 ] [ file ]" -typedef int tailfunc_t (int, size_t) ; -typedef tailfunc_t *tailfunc_t_ref ; +typedef int tai$1_func (int, size_t) ; +typedef tai$1_func *tai$1_func_ref ; static int pluslines (int fd, size_t n) { @@ -121,12 +121,12 @@ static int minuschars (int fd, size_t n) int main (int argc, char const *const *argv) { - tailfunc_t_ref f = &minuslines ; + tai$1_func_ref f = &minuslines ; unsigned int n = 10 ; int gotit = 0 ; PROG = "s6-tail" ; { - subgetopt_t l = SUBGETOPT_ZERO ; + subgetopt l = SUBGETOPT_ZERO ; for (;;) { int opt = subgetopt_r(argc, argv, "123456789n:c:", &l) ; |