]> git.proxmox.com Git - grub2.git/commitdiff
* include/grub/emu/hostdisk.h (grub_hostdisk_linux_find_partition):
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 9 Oct 2013 05:16:20 +0000 (07:16 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 9 Oct 2013 05:16:20 +0000 (07:16 +0200)
Removed.
* grub-core/osdep/linux/hostdisk.c (grub_hostdisk_linux_find_partition):
Made static.

ChangeLog
grub-core/osdep/linux/hostdisk.c
include/grub/emu/hostdisk.h

index dc3af9894f35d09a2f468cafff5d83e5a776b895..22eb08fef719a0d22e43d408344957a1d3ce6cbe 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        * include/grub/emu/getroot.h (grub_util_find_hurd_root_device): Remove
index fecc649e57a982f09be3ff626c25f473b701afca..1df3e152138031221923ac3f63a50bfa7742b952 100644 (file)
@@ -148,7 +148,7 @@ have_devfs (void)
   return dev_devfsd_exists;
 }
 
-int
+static int
 grub_hostdisk_linux_find_partition (char *dev, grub_disk_addr_t sector)
 {
   size_t len = strlen (dev);
index 3c621a843add4a54fbd624bd2b4203504fff2ada..016ccf603e72b3c589db4fbc501d17e35e0602a3 100644 (file)
@@ -109,11 +109,6 @@ grub_util_get_fd_size (grub_util_fd_t fd, const char *name, unsigned *log_secsiz
 char *
 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
 grub_util_get_dm_node_linear_info (const char *dev,
                                   int *maj, int *min,