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

* include/grub/disk.h (struct grub_disk_dev): Use enum for id.
	* kern/disk.c (struct grub_disk_cache): Likewise.
This commit is contained in:
proski 2009-07-15 19:45:44 +00:00
parent e8e8e4fd88
commit 560ca572fa
3 changed files with 5 additions and 2 deletions

View file

@ -56,7 +56,7 @@ struct grub_disk_dev
const char *name;
/* The device id used by the cache manager. */
unsigned long id;
enum grub_disk_dev_id id;
/* Call HOOK with each device name, until HOOK returns non-zero. */
int (*iterate) (int (*hook) (const char *name));