2007-05-17 Jeroen Dekkers <jeroen@dekkers.cx>
* video/i386/pc/vbe.c (grub_video_vbe_create_render_target): Add __attribute_ ((unused)) to mode_type argument. * util/getroot.c (grub_guess_root_device): Fix #endif. * kern/misc.c (memcmp): Fix prototype. * include/grub/partition.h [GRUB_UTIL] (grub_gpt_partition_map_init): Add prototype. (grub_gpt_partition_map_fini): Likewise. * fs/jfs.c (struct grub_jfs_inode): Put __attribute__ ((packed) at the right place. * fs/fat.c (grub_fat_mount): Replace ~0UL with ~0U. (grub_fat_read_data): Likewise. (grub_fat_find_dir): Likewise. * font/manager.c (find_glyph): Make table a const. (grub_font_get_glyph): Remove bitmap from if statement.
This commit is contained in:
parent
849d55d3d1
commit
21c8cbb1ab
8 changed files with 42 additions and 18 deletions
|
@ -1,7 +1,7 @@
|
|||
/* misc.c - definitions of misc functions */
|
||||
/*
|
||||
* GRUB -- GRand Unified Bootloader
|
||||
* Copyright (C) 1999,2000,2001,2002,2003,2004,2005,2006 Free Software Foundation, Inc.
|
||||
* Copyright (C) 1999,2000,2001,2002,2003,2004,2005,2006,2007 Free Software Foundation, Inc.
|
||||
*
|
||||
* GRUB is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -174,7 +174,7 @@ grub_memcmp (const void *s1, const void *s2, grub_size_t n)
|
|||
|
||||
return 0;
|
||||
}
|
||||
void *memcmp (const void *s1, const void *s2, grub_size_t n)
|
||||
int memcmp (const void *s1, const void *s2, grub_size_t n)
|
||||
__attribute__ ((alias ("grub_memcmp")));
|
||||
|
||||
int
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue