mkuzip.c (1291d48f061ef2e955da0f4806ee1ac527908c8c) mkuzip.c (1a7ac2bd24c1763b0d32e23d9c70308fbc24b07a)
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause
3 *
4 * Copyright (c) 2004-2016 Maxim Sobolev <sobomax@FreeBSD.org>
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 85 unchanged lines hidden (view full) ---

94 .default_sufx = DEFAULT_SUFX_ZSTD,
95 .f_compress_bound = mkuz_zstd_cbound,
96 .f_init = mkuz_zstd_init,
97 .f_compress = mkuz_zstd_compress,
98 },
99};
100
101static struct mkuz_blk *readblock(int, u_int32_t);
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause
3 *
4 * Copyright (c) 2004-2016 Maxim Sobolev <sobomax@FreeBSD.org>
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 85 unchanged lines hidden (view full) ---

94 .default_sufx = DEFAULT_SUFX_ZSTD,
95 .f_compress_bound = mkuz_zstd_cbound,
96 .f_init = mkuz_zstd_init,
97 .f_compress = mkuz_zstd_compress,
98 },
99};
100
101static struct mkuz_blk *readblock(int, u_int32_t);
102static void usage(void);
102static void usage(void) __dead2;
103static void cleanup(void);
104
105static char *cleanfile = NULL;
106
107static int
108cmp_blkno(const struct mkuz_blk *bp, void *p)
109{
110 uint32_t *ap;

--- 395 unchanged lines hidden ---
103static void cleanup(void);
104
105static char *cleanfile = NULL;
106
107static int
108cmp_blkno(const struct mkuz_blk *bp, void *p)
109{
110 uint32_t *ap;

--- 395 unchanged lines hidden ---