Use standard types

Replace uchar, uint, ulong, u_char, u_int, u_long, u_int* with
their standard equivalents.

Fixes warnings like these on OpenBSD:
 CC    target/arch/unix/unix.o
In file included from ../arch/unix/unix.c:29:
../include/config.h:26: warning: redefinition of `ulong'
/usr/include/sys/types.h:56: warning: `ulong' previously declared here
../include/config.h:26: warning: redundant redeclaration of `ulong' in same scope

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>

git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@830 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
Blue Swirl
2010-08-01 21:25:08 +00:00
parent 626c95da21
commit 482249e794
61 changed files with 367 additions and 387 deletions

View File

@@ -35,10 +35,10 @@ do { printk("NVRAM: " fmt , ##args); } while (0)
typedef struct {
uchar signature;
uchar checksum;
uchar len_hi;
uchar len_lo;
unsigned char signature;
unsigned char checksum;
unsigned char len_hi;
unsigned char len_lo;
char name[12];
char data[0];
} nvpart_t;
@@ -225,8 +225,8 @@ nvconf_init( void )
/************************************************************************/
typedef struct {
uint mark_hi;
uint mark_lo;
unsigned int mark_hi;
unsigned int mark_lo;
} nvram_ibuf_t;
DECLARE_UNNAMED_NODE( nvram, INSTALL_OPEN, sizeof(nvram_ibuf_t ));