mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-20 22:48:22 +00:00
* grub-core/kern/ieee1275/ieee1275.c (grub_ieee1275_finddevice): Make
first argument a const pointer. * grub-core/kern/ieee1275/openfw.c (grub_children_iterate): Likewise. * include/grub/ieee1275/ieee1275.h (grub_ieee1275_finddevice): Update proto. (grub_children_iterate): Likewise. (grub_machine_mmap_iterate): Remove redundant declaration.
This commit is contained in:
1 parent
cc8f366887
commit
ee533335f5
4 files changed
+14
-6
No files matched your search
@@ -27,7 +27,7 @@
|
||||
|
||||
|
||||
int
|
||||
grub_ieee1275_finddevice (char *name, grub_ieee1275_phandle_t *phandlep)
|
||||
grub_ieee1275_finddevice (const char *name, grub_ieee1275_phandle_t *phandlep)
|
||||
{
|
||||
struct find_device_args
|
||||
{
|
||||
|
||||
@@ -34,7 +34,7 @@ enum grub_ieee1275_parse_type
|
||||
|
||||
/* Walk children of 'devpath', calling hook for each. */
|
||||
int
|
||||
grub_children_iterate (char *devpath,
|
||||
grub_children_iterate (const char *devpath,
|
||||
int (*hook) (struct grub_ieee1275_devalias *alias))
|
||||
{
|
||||
grub_ieee1275_phandle_t dev;
|
||||
|
||||
Reference in new issue
Block a user