* commands/acpi.c: Remove unused variable my_mod.
* partmap/amiga.c: Likewise.
* partmap/apple.c: Likewise.
* partmap/gpt.c: Likewise.
* partmap/pc.c: Likewise.
* partmap/sun.c: Likewise.
* term/gfxterm.c: Likewise.
* term/i386/pc/vesafb.c: Likewise.
* term/i386/pc/vga.c: Likewise.
+2009-05-04 Pavel Roskin <proski@gnu.org>
+
+ * commands/acpi.c: Remove unused variable my_mod.
+ * partmap/amiga.c: Likewise.
+ * partmap/apple.c: Likewise.
+ * partmap/gpt.c: Likewise.
+ * partmap/pc.c: Likewise.
+ * partmap/sun.c: Likewise.
+ * term/gfxterm.c: Likewise.
+ * term/i386/pc/vesafb.c: Likewise.
+ * term/i386/pc/vga.c: Likewise.
+
2009-05-04 David S. Miller <davem@davemloft.net>
* kern/ieee1275/openfw.c (grub_children_iterate): Fix string
/* rev1 is 1 if ACPIv1 is to be generated, 0 otherwise.
rev2 contains the revision of ACPIv2+ to generate or 0 if none. */
static int rev1, rev2;
-static grub_dl_t my_mod;
/* OEMID of RSDP, RSDT and XSDT. */
static char root_oemid[6];
/* OEMTABLE of the same tables. */
"Load host acpi tables and tables "
"specified by arguments",
options);
- my_mod=mod;
}
GRUB_MOD_FINI(acpi)
static struct grub_partition_map grub_amiga_partition_map;
-#ifndef GRUB_UTIL
-static grub_dl_t my_mod;
-#endif
-
\f
static grub_err_t
GRUB_MOD_INIT(amiga_partition_map)
{
grub_partition_map_register (&grub_amiga_partition_map);
-#ifndef GRUB_UTIL
- my_mod = mod;
-#endif
}
GRUB_MOD_FINI(amiga_partition_map)
};
static struct grub_partition_map grub_apple_partition_map;
-
-#ifndef GRUB_UTIL
-static grub_dl_t my_mod;
-#endif
\f
static grub_err_t
GRUB_MOD_INIT(apple_partition_map)
{
grub_partition_map_register (&grub_apple_partition_map);
-#ifndef GRUB_UTIL
- my_mod = mod;
-#endif
}
GRUB_MOD_FINI(apple_partition_map)
static struct grub_partition_map grub_gpt_partition_map;
-#ifndef GRUB_UTIL
-static grub_dl_t my_mod;
-#endif
-
\f
static grub_err_t
GRUB_MOD_INIT(gpt_partition_map)
{
grub_partition_map_register (&grub_gpt_partition_map);
-#ifndef GRUB_UTIL
- my_mod = mod;
-#endif
}
GRUB_MOD_FINI(gpt_partition_map)
#include <grub/dl.h>
static struct grub_partition_map grub_pc_partition_map;
-
-#ifndef GRUB_UTIL
-static grub_dl_t my_mod;
-#endif
\f
/* Parse the partition representation in STR and return a partition. */
GRUB_MOD_INIT(pc_partition_map)
{
grub_partition_map_register (&grub_pc_partition_map);
-#ifndef GRUB_UTIL
- my_mod = mod;
-#endif
}
GRUB_MOD_FINI(pc_partition_map)
static struct grub_partition_map grub_sun_partition_map;
-#ifndef GRUB_UTIL
-static grub_dl_t my_mod;
-#endif
-
/* Verify checksum (true=ok). */
static int
grub_sun_is_valid (struct grub_sun_block *label)
GRUB_MOD_INIT(sun_partition_map)
{
grub_partition_map_register (&grub_sun_partition_map);
-#ifndef GRUB_UTIL
- my_mod = mod;
-#endif
}
GRUB_MOD_FINI(sun_partition_map)
static struct grub_virtual_screen virtual_screen;
-static grub_dl_t my_mod;
static struct grub_video_mode_info mode_info;
static struct grub_video_render_target *text_layer;
GRUB_MOD_INIT(term_gfxterm)
{
- my_mod = mod;
grub_term_register_output ("gfxterm", &grub_video_term);
cmd = grub_register_command ("background_image",
grub_gfxterm_background_image_cmd,
.text_buffer = 0
};
-static grub_dl_t my_mod;
static unsigned char *vga_font = 0;
static grub_uint32_t old_mode = 0;
GRUB_MOD_INIT(vesafb)
{
- my_mod = mod;
grub_term_register_output ("vesafb", &grub_vesafb_term);
}
unsigned char index;
};
-static grub_dl_t my_mod;
static unsigned char text_mode;
static unsigned xpos, ypos;
static int cursor_state;
GRUB_MOD_INIT(vga)
{
-#ifndef GRUB_UTIL
- my_mod = mod;
-#endif
grub_term_register_output ("vga", &grub_vga_term);
}