From 9e18dfe2775011ad8f506582086ab165bc0cfaa2 Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Sat, 16 Nov 2013 16:59:07 +0400 Subject: [PATCH] MIPS grub_machine_get_bootlocation arguments are used --- ChangeLog | 5 +++++ grub-core/kern/mips/arc/init.c | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index dae716056..bba81dba4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-11-16 Andrey Borzenkov + + * grub-core/kern/mips/arc/init.c (grub_machine_get_bootlocation): + Remove "unused" attribute from arguments, they are used. + 2013-11-15 Colin Watson * .gitignore: Only ignore grub-mk* at the top level. diff --git a/grub-core/kern/mips/arc/init.c b/grub-core/kern/mips/arc/init.c index f12026e95..cb6c22848 100644 --- a/grub-core/kern/mips/arc/init.c +++ b/grub-core/kern/mips/arc/init.c @@ -355,8 +355,7 @@ get_device_name_iter (grub_disk_t disk __attribute__ ((unused)), } void -grub_machine_get_bootlocation (char **device __attribute__ ((unused)), - char **path __attribute__ ((unused))) +grub_machine_get_bootlocation (char **device, char **path) { char *loaddev = boot_location; char *pptr, *partptr;