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.
This commit is contained in:
proski 2008-01-03 22:43:46 +00:00
parent b9416d00ad
commit 97eab9176c
6 changed files with 20 additions and 11 deletions

View file

@ -57,7 +57,7 @@ update_cursor (void)
}
static void
inc_y ()
inc_y (void)
{
grub_curr_x = 0;
if (grub_curr_y < ROWS - 1)
@ -72,7 +72,7 @@ inc_y ()
}
static void
inc_x ()
inc_x (void)
{
if (grub_curr_x >= COLS - 2)
inc_y ();
@ -105,7 +105,7 @@ grub_console_real_putchar (int c)
}
grub_uint16_t
grub_console_getxy ()
grub_console_getxy (void)
{
return (grub_curr_x << 8) | grub_curr_y;
}
@ -119,7 +119,7 @@ grub_console_gotoxy (grub_uint8_t x, grub_uint8_t y)
}
void
grub_console_cls ()
grub_console_cls (void)
{
int i;
for (i = 0; i < ROWS * COLS; i++)