summaryrefslogtreecommitdiff
path: root/compressed/decompress.c
blob: c690c14271ae063665d8dd2223fc4db4db02fee4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#define _LINUX_STRING_H_

#include <linux/types.h>	/* for size_t */

extern unsigned long free_mem_ptr;
extern unsigned long free_mem_end_ptr;
extern void error(char *);

#define STATIC static
#define STATIC_RW_DATA	/* non-static please */

#define ARCH_HAS_DECOMP_WDOG

#include "decompress_inflate.c"

int do_decompress(u8 *input, int len, u8 *output, void (*error)(char *x))
{
	return decompress(input, len, NULL, NULL, output, NULL, error);
}