summaryrefslogtreecommitdiffstats
path: root/kernel/lib/decompress_unlzma.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/lib/decompress_unlzma.c')
-rw-r--r--kernel/lib/decompress_unlzma.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/kernel/lib/decompress_unlzma.c b/kernel/lib/decompress_unlzma.c
index 0be83af62..decb64629 100644
--- a/kernel/lib/decompress_unlzma.c
+++ b/kernel/lib/decompress_unlzma.c
@@ -667,13 +667,12 @@ exit_0:
}
#ifdef PREBOOT
-STATIC int INIT decompress(unsigned char *buf, long in_len,
+STATIC int INIT __decompress(unsigned char *buf, long in_len,
long (*fill)(void*, unsigned long),
long (*flush)(void*, unsigned long),
- unsigned char *output,
+ unsigned char *output, long out_len,
long *posp,
- void(*error)(char *x)
- )
+ void (*error)(char *x))
{
return unlzma(buf, in_len - 4, fill, flush, output, posp, error);
}