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:
@ -4,11 +4,11 @@
|
||||
#include <console/console.h>
|
||||
#endif
|
||||
|
||||
#include <lib.h>
|
||||
|
||||
/* Assume 8 bits per byte */
|
||||
#define CHAR_BIT 8
|
||||
|
||||
unsigned long log2(unsigned long x);
|
||||
|
||||
unsigned long log2(unsigned long x)
|
||||
{
|
||||
// assume 8 bits per byte.
|
||||
|
Reference in New Issue
Block a user