blob: 1601e0a72c9e43712b00a6e180bc58e15f39c096 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
/* SPDX-License-Identifier: GPL-3.0-or-later */
/*
* abi.c
*
* Copyright (C) 2019 David Oberhollenzer <goliath@infraroot.at>
*/
#include "config.h"
#include "sqfs/compressor.h"
#include <assert.h>
#include <stdlib.h>
int main(void)
{
sqfs_compressor_config_t cfg;
assert(sizeof(cfg.opt.gzip) == sizeof(cfg.opt));
assert(sizeof(cfg.opt.zstd) == sizeof(cfg.opt));
assert(sizeof(cfg.opt.lzo) == sizeof(cfg.opt));
assert(sizeof(cfg.opt.xz) == sizeof(cfg.opt));
assert(sizeof(cfg.opt.padd0) == sizeof(cfg.opt));
return EXIT_SUCCESS;
}
|