diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/lzma.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/lib/lzma.c b/src/lib/lzma.c index ea5f15f2d1..8efa1e6e1a 100644 --- a/src/lib/lzma.c +++ b/src/lib/lzma.c @@ -24,12 +24,7 @@ unsigned long ulzma(unsigned char * src, unsigned char * dst) int res; CLzmaDecoderState state; SizeT mallocneeds; -#if !defined(__PRE_RAM__) - /* in ramstage, this can go in BSS */ - static -#endif - /* in pre-ram, it must go on the stack */ - unsigned char scratchpad[15980]; + MAYBE_STATIC unsigned char scratchpad[15980]; unsigned char *cp; memcpy(properties, src, LZMA_PROPERTIES_SIZE); |