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
This commit is contained in:
Myles Watson
2009-10-28 16:13:28 +00:00
parent d4e5c0a228
commit 581707811c
9 changed files with 39 additions and 15 deletions

View File

@ -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) {