2006-11-09 Jeroen Dekkers <jeroen@dekkers.cx>

* include/grub/types.h (__unused): Rename to UNUSED.
	* kern/elf.c (grub_elf32_size): Use UNUSED instead of __unused.
	(grub_elf64_size): Likewise.
This commit is contained in:
jeroen 2006-11-09 19:39:51 +00:00
parent 8b6a8d2ae2
commit 03e58196a8
3 changed files with 9 additions and 3 deletions

View file

@ -23,7 +23,7 @@
#include <config.h>
#include <grub/cpu/types.h>
#define __unused __attribute__ ((unused))
#define UNUSED __attribute__ ((unused))
#ifdef GRUB_UTIL
# define GRUB_CPU_SIZEOF_VOID_P SIZEOF_VOID_P