2009-07-13 Pavel Roskin <proski@gnu.org>

* kern/dl.c: Force native word size to suppress warnings when
	compiling grub-emu.
This commit is contained in:
proski 2009-07-13 23:04:31 +00:00
parent 2df32b2c4a
commit 17dc3751c2
2 changed files with 6 additions and 0 deletions

View file

@ -1,5 +1,8 @@
2009-07-13 Pavel Roskin <proski@gnu.org>
* kern/dl.c: Force native word size to suppress warnings when
compiling grub-emu.
* kern/device.c (grub_device_iterate): Change struct part_ent to
hold the name, not a pointer to it. Use one grub_malloc() per
partition, not two. Free partition_name if grub_malloc() fails.

View file

@ -17,6 +17,9 @@
* along with GRUB. If not, see <http://www.gnu.org/licenses/>.
*/
/* Force native word size */
#define GRUB_TARGET_WORDSIZE (8 * GRUB_CPU_SIZEOF_VOID_P)
#include <config.h>
#include <grub/elf.h>
#include <grub/dl.h>