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-head.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-head.c')
-rw-r--r-- | src/skaembutils/s6-head.c | 8 |
1 files changed, 4 insertions, 4 deletions
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 (;;) { |