From 0d67d4ea416d6a5832f26c99024f8c29f0ca20dd Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Sun, 30 May 2010 09:36:32 +0300 Subject: Silence compiler warnings. Thanks to Denys Vlasenko. --- linux/lib/xz/xz_private.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'linux/lib/xz') 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 -- cgit v1.2.3