Aaron Durbin (adurbin@chromium.org) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/15526
-gerrit
commit 97e1c75a4fe2058a88190c53206457de2d7ae6f2 Author: Aaron Durbin adurbin@chromium.org Date: Fri Jul 1 10:06:29 2016 -0500
lib: remove ulzma()
That function is no longer used. All users have been updated to use the ulzman() function which specifies lengths for the input and output buffers.
Change-Id: Ie630172be914a88ace010ec3ff4ff97da414cb5e Signed-off-by: Aaron Durbin adurbin@chromium.org --- src/include/lib.h | 1 - src/lib/lzma.c | 5 ----- 2 files changed, 6 deletions(-)
diff --git a/src/include/lib.h b/src/include/lib.h index 5bcd07d..3edc372 100644 --- a/src/include/lib.h +++ b/src/include/lib.h @@ -21,7 +21,6 @@ #include <types.h>
/* 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 */ diff --git a/src/lib/lzma.c b/src/lib/lzma.c index d0b4c35..3efcbc0 100644 --- a/src/lib/lzma.c +++ b/src/lib/lzma.c @@ -55,8 +55,3 @@ size_t ulzman(const void *src, size_t srcn, void *dst, size_t dstn) } return outProcessed; } - -size_t ulzma(const void *src, void *dst) -{ - return ulzman(src, ~(size_t)0, dst, ~(size_t)0); -}