Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
26 lines
657 B
C
26 lines
657 B
C
/* infutil.h -- types and macros common to blocks and codes
|
|
* Copyright (C) 1995-1998 Mark Adler
|
|
* For conditions of distribution and use, see copyright notice in zlib.h
|
|
*/
|
|
|
|
/* WARNING: this file should *not* be used by applications. It is
|
|
part of the implementation of the compression library and is
|
|
subject to change. Applications should only use zlib.h.
|
|
*/
|
|
|
|
#ifndef _INFUTIL_H
|
|
#define _INFUTIL_H
|
|
|
|
#include <linux/zlib.h>
|
|
|
|
/* memory allocation for inflation */
|
|
|
|
struct inflate_workspace {
|
|
struct inflate_state inflate_state;
|
|
unsigned char working_window[1 << MAX_WBITS];
|
|
};
|
|
|
|
#define WS(z) ((struct inflate_workspace *)(z->workspace))
|
|
|
|
#endif
|