summaryrefslogtreecommitdiff
path: root/src/include/lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/lib.h')
-rw-r--r--src/include/lib.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/lib.h b/src/include/lib.h
index ab1f067ee3..737ab36b83 100644
--- a/src/include/lib.h
+++ b/src/include/lib.h
@@ -20,8 +20,9 @@
#include <stdint.h>
#include <types.h>
-/* Defined in src/lib/lzma.c */
-unsigned long ulzma(unsigned char *src, unsigned char *dst);
+/* Defined in src/lib/lzma.c. Returns decompressed size or 0 on error. */
+size_t ulzma(const void *src, void *dst);
+size_t ulzman(const void *src, size_t srcn, void *dst, size_t dstn);
/* Defined in src/lib/ramtest.c */
void ram_check(unsigned long start, unsigned long stop);