* include/grub/emu/hostdisk.h (grub_hostdisk_linux_find_partition):

Removed.
	* grub-core/osdep/linux/hostdisk.c (grub_hostdisk_linux_find_partition):
	Made static.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-10-09 07:16:20 +02:00
parent 3837a151e0
commit 37149a2f20
3 changed files with 8 additions and 6 deletions

View file

@ -1,3 +1,10 @@
2013-10-09 Vladimir Serbinenko <phcoder@gmail.com>
* include/grub/emu/hostdisk.h (grub_hostdisk_linux_find_partition):
Removed.
* grub-core/osdep/linux/hostdisk.c (grub_hostdisk_linux_find_partition):
Made static.
2013-10-09 Vladimir Serbinenko <phcoder@gmail.com> 2013-10-09 Vladimir Serbinenko <phcoder@gmail.com>
* include/grub/emu/getroot.h (grub_util_find_hurd_root_device): Remove * include/grub/emu/getroot.h (grub_util_find_hurd_root_device): Remove

View file

@ -148,7 +148,7 @@ have_devfs (void)
return dev_devfsd_exists; return dev_devfsd_exists;
} }
int static int
grub_hostdisk_linux_find_partition (char *dev, grub_disk_addr_t sector) grub_hostdisk_linux_find_partition (char *dev, grub_disk_addr_t sector)
{ {
size_t len = strlen (dev); size_t len = strlen (dev);

View file

@ -109,11 +109,6 @@ grub_util_get_fd_size (grub_util_fd_t fd, const char *name, unsigned *log_secsiz
char * char *
grub_util_get_os_disk (const char *os_dev); grub_util_get_os_disk (const char *os_dev);
#ifdef __linux__
int
grub_hostdisk_linux_find_partition (char *dev, grub_disk_addr_t sector);
#endif
int int
grub_util_get_dm_node_linear_info (const char *dev, grub_util_get_dm_node_linear_info (const char *dev,
int *maj, int *min, int *maj, int *min,