+2008-01-03 Pavel Roskin <proski@gnu.org>
+
+ * kern/i386/linuxbios/init.c: Put "void" to all function
+ declarations with no arguments.
+ * kern/powerpc/ieee1275/init.c: Likewise.
+ * term/i386/pc/at_keyboard.c: Likewise.
+ * term/i386/pc/vga_text.c: Likewise.
+ * util/grub-mkdevicemap.c: Likewise.
+
2008-01-02 Robert Millan <rmh@aybabtu.com>
* loader/i386/pc/multiboot.c (grub_multiboot_load_elf32): Improve error
}
void
-grub_exit ()
+grub_exit (void)
{
grub_printf ("grub_exit() is not implemented.\n");
grub_stop ();
}
void
-grub_reboot ()
+grub_reboot (void)
{
grub_printf ("grub_reboot() is not implemented.\n");
grub_stop ();
}
/* Claim some available memory in the first /memory node. */
-static void grub_claim_heap ()
+static void grub_claim_heap (void)
{
unsigned long total = 0;
/* If there is a raw key pending, return it; otherwise return -1. */
static int
-grub_keyboard_getkey ()
+grub_keyboard_getkey (void)
{
grub_uint8_t key;
if (KEYBOARD_ISREADY (grub_inb (KEYBOARD_REG_STATUS)))
/* If there is a character pending, return it; otherwise return -1. */
int
-grub_console_checkkey ()
+grub_console_checkkey (void)
{
int key;
key = grub_keyboard_getkey ();
}
int
-grub_console_getkey ()
+grub_console_getkey (void)
{
int key;
do
}
static void
-inc_y ()
+inc_y (void)
{
grub_curr_x = 0;
if (grub_curr_y < ROWS - 1)
}
static void
-inc_x ()
+inc_x (void)
{
if (grub_curr_x >= COLS - 2)
inc_y ();
}
grub_uint16_t
-grub_console_getxy ()
+grub_console_getxy (void)
{
return (grub_curr_x << 8) | grub_curr_y;
}
}
void
-grub_console_cls ()
+grub_console_cls (void)
{
int i;
for (i = 0; i < ROWS * COLS; i++)
/* Runtime detection of kernel */
# include <sys/utsname.h>
int
-get_kfreebsd_version ()
+get_kfreebsd_version (void)
{
struct utsname uts;
int major;