diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2010-05-30 09:36:32 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2010-05-30 09:36:32 +0300 |
commit | 0d67d4ea416d6a5832f26c99024f8c29f0ca20dd (patch) | |
tree | a825ea39f2e41de718fb9a17fe0094b8497a37be /linux/lib | |
parent | 9f4391becfc5c5204777557dad382019467c3aac (diff) | |
download | xz-embedded-0d67d4ea416d6a5832f26c99024f8c29f0ca20dd.tar.gz |
Silence compiler warnings.
Thanks to Denys Vlasenko.
Diffstat (limited to 'linux/lib')
-rw-r--r-- | linux/lib/xz/xz_private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/lib/xz/xz_private.h b/linux/lib/xz/xz_private.h index aa31906..f4e0b40 100644 --- a/linux/lib/xz/xz_private.h +++ b/linux/lib/xz/xz_private.h @@ -89,6 +89,7 @@ XZ_EXTERN enum xz_ret XZ_FUNC xz_dec_lzma2_run( /* Free the memory allocated for the LZMA2 decoder. */ XZ_EXTERN void XZ_FUNC xz_dec_lzma2_end(struct xz_dec_lzma2 *s); +#ifdef XZ_DEC_BCJ /* * Allocate memory for BCJ decoders. xz_dec_bcj_reset() must be used before * calling xz_dec_bcj_run(). @@ -114,5 +115,6 @@ XZ_EXTERN enum xz_ret XZ_FUNC xz_dec_bcj_run(struct xz_dec_bcj *s, /* Free the memory allocated for the BCJ filters. */ #define xz_dec_bcj_end(s) kfree(s) +#endif #endif |