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:
okuji committed 2005-02-01 21:00:42 +00:00
1 parent eb5d4d6776
commit ac1ef04cde
7 files changed
+67 -35

No files matched your search

+5 -2
View File
@@ -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)