summaryrefslogtreecommitdiff
path: root/src/boot
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
commit39b2b5c32cd8ada60022820bc77ef4ed60c3fc03 (patch)
tree7d1263d1f0f2f606adef8c2aeb211910aa421ab0 /src/boot
parent451a1c89708601e4931042a80bef0edfb620400d (diff)
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/boot')
-rw-r--r--src/boot/selfboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot/selfboot.c b/src/boot/selfboot.c
index fa3e29a97..bee613591 100644
--- a/src/boot/selfboot.c
+++ b/src/boot/selfboot.c
@@ -28,6 +28,7 @@
#include <stdlib.h>
#include <string.h>
#include <cbfs.h>
+#include <lib.h>
#ifndef CONFIG_BIG_ENDIAN
#define ntohl(x) ( ((x&0xff)<<24) | ((x&0xff00)<<8) | \
@@ -462,7 +463,6 @@ static int load_self_segments(
switch(ptr->compression) {
case CBFS_COMPRESS_LZMA: {
printk_debug("using LZMA\n");
- unsigned long ulzma(unsigned char *src, unsigned char *dst);
len = ulzma(src, dest);
break;
}