Commit 6b01ed64c19b52121a717274d271d9915f8d3e94
Committed by
Linus Torvalds
1 parent
8d0a1decb4
Exists in
master
and in
4 other branches
Decompressors: add missing INIT (i.e. __init)
Signed-off-by: Lasse Collin <lasse.collin@tukaani.org> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: Alain Knaff <alain@knaff.lu> Cc: Albin Tonnerre <albin.tonnerre@free-electrons.com> Cc: Phillip Lougher <phillip@lougher.demon.co.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Showing 2 changed files with 3 additions and 3 deletions Side-by-side Diff
lib/decompress_inflate.c
lib/decompress_unlzma.c
... | ... | @@ -82,7 +82,7 @@ |
82 | 82 | #define RC_MODEL_TOTAL_BITS 11 |
83 | 83 | |
84 | 84 | |
85 | -static int nofill(void *buffer, unsigned int len) | |
85 | +static int INIT nofill(void *buffer, unsigned int len) | |
86 | 86 | { |
87 | 87 | return -1; |
88 | 88 | } |
... | ... | @@ -169,7 +169,7 @@ |
169 | 169 | rc->range = rc->bound; |
170 | 170 | *p += ((1 << RC_MODEL_TOTAL_BITS) - *p) >> RC_MOVE_BITS; |
171 | 171 | } |
172 | -static inline void rc_update_bit_1(struct rc *rc, uint16_t *p) | |
172 | +static inline void INIT rc_update_bit_1(struct rc *rc, uint16_t *p) | |
173 | 173 | { |
174 | 174 | rc->range -= rc->bound; |
175 | 175 | rc->code -= rc->bound; |