]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* include/grub/emu/hostdisk.h: Add proper declaration for grub_host_init
authorVladimir Serbinenko <phcoder@gmail.com>
Mon, 28 Oct 2013 12:33:12 +0000 (13:33 +0100)
committerVladimir Serbinenko <phcoder@gmail.com>
Mon, 28 Oct 2013 12:33:12 +0000 (13:33 +0100)
and grub_hostfs_init.

ChangeLog
grub-core/disk/host.c
grub-core/kern/emu/main.c
include/grub/emu/hostdisk.h
util/render-label.c

index bdd2c80c182699b5b2a9a70dddf81acad21e35f8..58e5e91f1572bbb0dab512e1ce0e0f31835e3cd4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-10-28  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * include/grub/emu/hostdisk.h: Add proper declaration for grub_host_init
+       and grub_hostfs_init.
+
 2013-10-28  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * grub-core/kern/emu/hostdisk.c (grub_util_check_file_presence): Use
index 959211bb9c1121ab877e6ea6b67ff1d91579b8f1..69b6f0ea174bff75a6ba4178a1122905d2664bb1 100644 (file)
 /* When using the disk, make a reference to this module.  Otherwise
    the user will end up with a useless module :-).  */
 
+#include <config.h>
+#include <config-util.h>
+
 #include <grub/dl.h>
 #include <grub/disk.h>
 #include <grub/misc.h>
+#include <grub/emu/hostdisk.h>
 
 int grub_disk_host_i_want_a_reference;
 
index 51ede76c0676b473e8cbb6f5710ae925d802a222..87ae256f95c5549e7e85948056aa5710cfb1ff34 100644 (file)
@@ -164,11 +164,6 @@ static struct argp argp = {
 
 \f
 
-void grub_hostfs_init (void);
-void grub_hostfs_fini (void);
-void grub_host_init (void);
-void grub_host_fini (void);
-
 int
 main (int argc, char *argv[])
 {
index a150467d55f3789da0ff2e6fdc7a6416a52f286f..ba0034d5f77878fce7157c75074446ea2c17382a 100644 (file)
@@ -84,4 +84,9 @@ struct grub_util_hostdisk_data
   int device_map;
 };
 
+void grub_host_init (void);
+void grub_host_fini (void);
+void grub_hostfs_init (void);
+void grub_hostfs_fini (void);
+
 #endif /* ! GRUB_BIOSDISK_MACHINE_UTIL_HEADER */
index 316da2c829533cd983e7b891d75fc4660c10d766..6bef638dab3c297453b72923be7909ebce5763be 100644 (file)
@@ -25,6 +25,7 @@
 #include <grub/font.h>
 #include <grub/gfxmenu_view.h>
 #include <grub/color.h>
+#include <grub/emu/hostdisk.h>
 
 #define _GNU_SOURCE    1
 
@@ -35,9 +36,6 @@
 #include <unistd.h>
 #include <errno.h>
 
-void grub_hostfs_init (void);
-void grub_host_init (void);
-
 struct header
 {
   grub_uint8_t magic;