summaryrefslogtreecommitdiff
path: root/src/lib/cbfs.c
diff options
context:
space:
mode:
authorMyles Watson <mylesgw@gmail.com>2009-10-28 16:13:28 +0000
committerMyles Watson <mylesgw@gmail.com>2009-10-28 16:13:28 +0000
commit581707811c1c24bb0676e7582c671548b8851436 (patch)
tree7d1263d1f0f2f606adef8c2aeb211910aa421ab0 /src/lib/cbfs.c
parentd4e5c0a2282a2af05d620fb0f8806d42a998c6da (diff)
downloadcoreboot-581707811c1c24bb0676e7582c671548b8851436.tar.xz
Create lib.h for homeless prototypes.
Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4878 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/lib/cbfs.c')
-rw-r--r--src/lib/cbfs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/cbfs.c b/src/lib/cbfs.c
index 876f6352e0..5f24faf20f 100644
--- a/src/lib/cbfs.c
+++ b/src/lib/cbfs.c
@@ -21,6 +21,7 @@
#include <string.h>
#include <console/console.h>
#include <cbfs.h>
+#include <lib.h>
#ifndef CONFIG_BIG_ENDIAN
#define ntohl(x) ( ((x&0xff)<<24) | ((x&0xff00)<<8) | \
@@ -29,8 +30,6 @@
#define ntohl(x) (x)
#endif
-unsigned long ulzma(unsigned char *src, unsigned char *dst);
-
int cbfs_decompress(int algo, void *src, void *dst, int len)
{
switch(algo) {