* grub-core/video/bochs.c (grub_video_bochs_setup): Use

grub_video_mode_type_t.
	* grub-core/video/cirrus.c (grub_video_cirrus_setup): Likewise.
	* grub-core/video/i386/pc/vbe.c (grub_video_vbe_setup): Likewise.
	* grub-core/video/i386/pc/vga.c (grub_video_vga_setup): Likewise.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-03-23 11:54:58 +01:00
parent 2da48d28d9
commit 40fc46599d
5 changed files with 16 additions and 4 deletions

View file

@ -1,3 +1,11 @@
2011-03-23 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/video/bochs.c (grub_video_bochs_setup): Use
grub_video_mode_type_t.
* grub-core/video/cirrus.c (grub_video_cirrus_setup): Likewise.
* grub-core/video/i386/pc/vbe.c (grub_video_vbe_setup): Likewise.
* grub-core/video/i386/pc/vga.c (grub_video_vga_setup): Likewise.
2011-03-23 Vladimir Serbinenko <phcoder@gmail.com> 2011-03-23 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub-install.in: Correct the x86-64 name as x86_64. * util/grub-install.in: Correct the x86-64 name as x86_64.

View file

@ -199,7 +199,8 @@ grub_video_bochs_set_palette (unsigned int start, unsigned int count,
static grub_err_t static grub_err_t
grub_video_bochs_setup (unsigned int width, unsigned int height, grub_video_bochs_setup (unsigned int width, unsigned int height,
unsigned int mode_type, unsigned int mode_mask) grub_video_mode_type_t mode_type,
grub_video_mode_type_t mode_mask)
{ {
int depth; int depth;
grub_err_t err; grub_err_t err;

View file

@ -235,7 +235,8 @@ grub_video_cirrus_set_palette (unsigned int start, unsigned int count,
static grub_err_t static grub_err_t
grub_video_cirrus_setup (unsigned int width, unsigned int height, grub_video_cirrus_setup (unsigned int width, unsigned int height,
unsigned int mode_type, unsigned int mode_mask) grub_video_mode_type_t mode_type,
grub_video_mode_type_t mode_mask)
{ {
int depth; int depth;
grub_err_t err; grub_err_t err;

View file

@ -688,7 +688,8 @@ grub_video_vbe_iterate (int (*hook) (const struct grub_video_mode_info *info))
static grub_err_t static grub_err_t
grub_video_vbe_setup (unsigned int width, unsigned int height, grub_video_vbe_setup (unsigned int width, unsigned int height,
unsigned int mode_type, unsigned int mode_mask) grub_video_mode_type_t mode_type,
grub_video_mode_type_t mode_mask)
{ {
grub_uint16_t *p; grub_uint16_t *p;
struct grub_vbe_mode_info_block vbe_mode_info; struct grub_vbe_mode_info_block vbe_mode_info;

View file

@ -116,7 +116,8 @@ grub_video_vga_init (void)
static grub_err_t static grub_err_t
grub_video_vga_setup (unsigned int width, unsigned int height, grub_video_vga_setup (unsigned int width, unsigned int height,
unsigned int mode_type, unsigned int mode_mask) grub_video_mode_type_t mode_type,
grub_video_mode_type_t mode_mask)
{ {
grub_err_t err; grub_err_t err;