boottest.c (8fa0b743820f61c661ba5f3ea0e3be0dc137910e) | boottest.c (f0bd5302dd9e20355beadd0f260ffb926b6ac164) |
---|---|
1/* 2 * Test application for xz_boot.c 3 * 4 * Author: Lasse Collin <lasse.collin@tukaani.org> 5 * 6 * This file has been put into the public domain. 7 * You can do whatever you want with this file. 8 */ --- 5 unchanged lines hidden (view full) --- 14#define STATIC static 15#define INIT 16 17static void error(/*const*/ char *msg) 18{ 19 fprintf(stderr, "%s\n", msg); 20} 21 | 1/* 2 * Test application for xz_boot.c 3 * 4 * Author: Lasse Collin <lasse.collin@tukaani.org> 5 * 6 * This file has been put into the public domain. 7 * You can do whatever you want with this file. 8 */ --- 5 unchanged lines hidden (view full) --- 14#define STATIC static 15#define INIT 16 17static void error(/*const*/ char *msg) 18{ 19 fprintf(stderr, "%s\n", msg); 20} 21 |
22/* Disable the CRC64 support even if it was enabled in the Makefile. */ 23#undef XZ_USE_CRC64 24 |
|
22#include "../linux/lib/decompress_unxz.c" 23 24static uint8_t in[1024 * 1024]; 25static uint8_t out[1024 * 1024]; 26 27static int fill(void *buf, unsigned int size) 28{ 29 return fread(buf, 1, size, stdin); --- 64 unchanged lines hidden --- | 25#include "../linux/lib/decompress_unxz.c" 26 27static uint8_t in[1024 * 1024]; 28static uint8_t out[1024 * 1024]; 29 30static int fill(void *buf, unsigned int size) 31{ 32 return fread(buf, 1, size, stdin); --- 64 unchanged lines hidden --- |