Move OS-dependent file definitions to include/grub/osdep/hostfile*.h.

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-10-09 08:20:20 +02:00
parent 37149a2f20
commit 761c718b52
8 changed files with 154 additions and 68 deletions

View file

@ -29,6 +29,7 @@
#include <grub/types.h>
#include <grub/symbol.h>
#include <grub/emu/misc.h>
#include <grub/osdep/hostfile.h>
char *grub_util_get_path (const char *dir, const char *file);
size_t grub_util_get_image_size (const char *path);
@ -39,14 +40,6 @@ void grub_util_write_image (const char *img, size_t size, FILE *out,
void grub_util_write_image_at (const void *img, size_t size, off_t offset,
FILE *out, const char *name);
#ifdef __MINGW32__
#define fseeko fseeko64
#define ftello ftello64
#endif
char *make_system_path_relative_to_its_root (const char *path);
char *canonicalize_file_name (const char *path);