inflate.c (cdd38c5f1ce4398ec58fec95904b75824daab7b5) | inflate.c (9fec9f8ea51c782d58a8b86f8e868fc06c782386) |
---|---|
1/* inflate.c -- zlib decompression 2 * Copyright (C) 1995-2005 Mark Adler 3 * For conditions of distribution and use, see copyright notice in zlib.h 4 * 5 * Based on zlib 1.2.3 but modified for the Linux Kernel by 6 * Richard Purdie <richard@openedhand.com> 7 * 8 * Changes mainly for static instead of dynamic memory allocation 9 * 10 */ 11 12#include <linux/zutil.h> 13#include "inftrees.h" 14#include "inflate.h" 15#include "inffast.h" 16#include "infutil.h" 17 18/* architecture-specific bits */ 19#ifdef CONFIG_ZLIB_DFLTCC | 1/* inflate.c -- zlib decompression 2 * Copyright (C) 1995-2005 Mark Adler 3 * For conditions of distribution and use, see copyright notice in zlib.h 4 * 5 * Based on zlib 1.2.3 but modified for the Linux Kernel by 6 * Richard Purdie <richard@openedhand.com> 7 * 8 * Changes mainly for static instead of dynamic memory allocation 9 * 10 */ 11 12#include <linux/zutil.h> 13#include "inftrees.h" 14#include "inflate.h" 15#include "inffast.h" 16#include "infutil.h" 17 18/* architecture-specific bits */ 19#ifdef CONFIG_ZLIB_DFLTCC |
20# include "../zlib_dfltcc/dfltcc.h" | 20# include "../zlib_dfltcc/dfltcc_inflate.h" |
21#else 22#define INFLATE_RESET_HOOK(strm) do {} while (0) 23#define INFLATE_TYPEDO_HOOK(strm, flush) do {} while (0) 24#define INFLATE_NEED_UPDATEWINDOW(strm) 1 25#define INFLATE_NEED_CHECKSUM(strm) 1 26#endif 27 28int zlib_inflate_workspacesize(void) --- 786 unchanged lines hidden --- | 21#else 22#define INFLATE_RESET_HOOK(strm) do {} while (0) 23#define INFLATE_TYPEDO_HOOK(strm, flush) do {} while (0) 24#define INFLATE_NEED_UPDATEWINDOW(strm) 1 25#define INFLATE_NEED_CHECKSUM(strm) 1 26#endif 27 28int zlib_inflate_workspacesize(void) --- 786 unchanged lines hidden --- |