2008-04-04 Pavel Roskin <proski@gnu.org>
* kern/powerpc/ieee1275/cmain.c (grub_ieee1275_find_options): Fix signedness warnings. * kern/powerpc/ieee1275/openfw.c (grub_available_iterate): Likewise. * util/ieee1275/get_disk_name.c: Include config.h so that _GNU_SOURCE is defined and getline() is declared. Mark an unused argument as such. Fix a signedness warning.
This commit is contained in:
parent
26887f221a
commit
070e49e4e8
4 changed files with 17 additions and 6 deletions
|
@ -153,9 +153,9 @@ grub_err_t grub_available_iterate (int (*hook) (grub_uint64_t, grub_uint64_t))
|
|||
grub_ieee1275_phandle_t memory;
|
||||
grub_uint32_t available[32];
|
||||
grub_ssize_t available_size;
|
||||
int address_cells = 1;
|
||||
int size_cells = 1;
|
||||
unsigned int i;
|
||||
grub_uint32_t address_cells = 1;
|
||||
grub_uint32_t size_cells = 1;
|
||||
int i;
|
||||
|
||||
/* Determine the format of each entry in `available'. */
|
||||
grub_ieee1275_finddevice ("/", &root);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue