mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-24 16:19:22 +00:00
2005-02-01 Yoshinori K. Okuji <okuji@enbug.org>
* grub/asmstub.c (grub_stage2): Use auto instead of static for nested functions. * stage2/char_io.c (memcheck) [GRUB_UTIL]: Likewise. * stage2/builtins.c (blocklist_func): Likewise. (color_func): Likewise. (install_func): Likewise. (setkey_func): Likewise. * lib/device.c (read_device_map): Likewise.
This commit is contained in:
1 parent
eb5d4d6776
commit
ac1ef04cde
7 files changed
+67
-35
No files matched your search
+5
-2
@@ -1178,7 +1178,10 @@ int
|
||||
memcheck (int addr, int len)
|
||||
{
|
||||
#ifdef GRUB_UTIL
|
||||
static int start_addr (void)
|
||||
auto int start_addr (void);
|
||||
auto int end_addr (void);
|
||||
|
||||
auto int start_addr (void)
|
||||
{
|
||||
int ret;
|
||||
# if defined(HAVE_START_SYMBOL)
|
||||
@@ -1189,7 +1192,7 @@ memcheck (int addr, int len)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int end_addr (void)
|
||||
auto int end_addr (void)
|
||||
{
|
||||
int ret;
|
||||
# if defined(HAVE_END_SYMBOL)
|
||||
|
||||
Reference in new issue
Block a user