]> git.proxmox.com Git - grub2.git/commitdiff
Fix warnings
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Tue, 29 Dec 2009 16:57:20 +0000 (17:57 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Tue, 29 Dec 2009 16:57:20 +0000 (17:57 +0100)
gfxmenu/gfxmenu.c

index 1fe6e7297e5dad47a3734cfec15524fc535aac1b..1db96a80f3ea2261eddc83cfc0e1ff3f88edfc37 100644 (file)
 
 grub_gfxmenu_view_t cached_view;
 
-void 
+static void 
 grub_gfxmenu_viewer_fini (void *data __attribute__ ((unused)))
 {
 }
 
 /* FIXME: Previously 't' changed to text menu is it necessary?  */
-grub_err_t
+static grub_err_t
 grub_gfxmenu_try (int entry, grub_menu_t menu, int nested)
 {
   grub_gfxmenu_view_t view = NULL;
@@ -76,8 +76,8 @@ grub_gfxmenu_try (int entry, grub_menu_t menu, int nested)
     }
 
   if (!cached_view || grub_strcmp (cached_view->theme_path, theme_path) != 0
-      || cached_view->screen.width != (int) mode_info.width
-      || cached_view->screen.height != (int) mode_info.height)
+      || cached_view->screen.width != mode_info.width
+      || cached_view->screen.height != mode_info.height)
     {
       grub_free (cached_view);
       /* Create the view.  */