mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Reduce warnings by 29%
git-svn-id: svn://coreboot.org/openbios/openbios-devel@273 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -29,10 +29,4 @@ extern int ofmem_map( ulong phys, ulong virt, ulong size, int mode );
|
||||
extern void ofmem_release( ulong virt, ulong size );
|
||||
extern ulong ofmem_translate( ulong virt, ulong *ret_mode );
|
||||
|
||||
/* allocations from the private pool */
|
||||
extern void *malloc( int size );
|
||||
extern void free( void *ptr );
|
||||
extern void *realloc( void *ptr, size_t size );
|
||||
|
||||
|
||||
#endif /* _H_OFMEM */
|
||||
|
||||
@@ -139,7 +139,7 @@ OpenBIOS_finish_partition(struct OpenBIOS_nvpart_v1 *header, uint32_t size)
|
||||
}
|
||||
|
||||
static inline uint32_t
|
||||
OpenBIOS_set_var(uint8_t *nvram, uint32_t addr, const unsigned char *str)
|
||||
OpenBIOS_set_var(uint8_t *nvram, uint32_t addr, const char *str)
|
||||
{
|
||||
uint32_t len;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user