diff options
| author | Tom Rini <[email protected]> | 2025-10-01 14:31:01 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-10-10 14:25:33 -0600 |
| commit | dde1515be5e2f6fdf3429b0d6d5ad6fa80e7715e (patch) | |
| tree | 7ad35f0a9955a5047d00ee6e5b601e13a471ba18 /lib | |
| parent | 16bbc225fed7931988616ba4e223954ae5ccc06b (diff) | |
lz4: Do not disable LZ4_decompress_safe* for xPL
We should compile the LZ4_decompress_safe and
LZ4_decompress_safe_partial functions in SPL and they will be discarded
if unused.
Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/lz4.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/lz4.c b/lib/lz4.c index c718659c590..11b4a4d334b 100644 --- a/lib/lz4.c +++ b/lib/lz4.c @@ -526,7 +526,6 @@ _output_error: return (int) (-(((const char *)ip) - src)) - 1; } -#ifndef CONFIG_SPL_BUILD __rcode int LZ4_decompress_safe(const char *source, char *dest, int compressedSize, int maxDecompressedSize) { @@ -545,4 +544,3 @@ __rcode int LZ4_decompress_safe_partial(const char *src, char *dst, endOnInputSize, partial_decode, noDict, (BYTE *)dst, NULL, 0); } -#endif |
