2008-04-06 Pavel Roskin <proski@gnu.org>
* util/biosdisk.c: Include grub/util/biosdisk.h. * util/grub-fstest.c (execute_command): Make static. * util/grub-mkdevicemap.c (check_device): Likewise. * util/i386/pc/misc.c: Include grub/machine/init.h. * util/powerpc/ieee1275/misc.c: Likewise. * util/lvm.c: Include grub/util/lvm.h. * util/misc.c: Include grub/kernel.h, grub/misc.h and grub/cache.h. * util/raid.c: Include grub/util/raid.h. (grub_util_getdiskname): Make static.
This commit is contained in:
parent
87a297bf55
commit
36747a6221
9 changed files with 22 additions and 3 deletions
|
@ -20,6 +20,7 @@
|
|||
/* We only support RAID on Linux. */
|
||||
#ifdef __linux__
|
||||
#include <grub/util/misc.h>
|
||||
#include <grub/util/raid.h>
|
||||
|
||||
#include <string.h>
|
||||
#include <fcntl.h>
|
||||
|
@ -31,7 +32,7 @@
|
|||
#include <linux/raid/md_p.h>
|
||||
#include <linux/raid/md_u.h>
|
||||
|
||||
char *
|
||||
static char *
|
||||
grub_util_getdiskname (int major, int minor)
|
||||
{
|
||||
char *name = xmalloc (15);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue