From 84379b61d273854c7dcd31ed07c977d86b4ae8b2 Mon Sep 17 00:00:00 2001 From: Vladimir 'phcoder' Serbinenko Date: Mon, 14 Oct 2013 02:09:38 +0200 Subject: [PATCH] * include/grub/osdep/hostfile_windows.h (grub_util_utf8_to_tchar): Add missing prototype. (grub_util_tchar_to_utf8): Likewise. --- ChangeLog | 6 ++++++ include/grub/osdep/hostfile_windows.h | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index a67a71e7f..bd44964ca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2013-10-14 Vladimir Serbinenko + + * include/grub/osdep/hostfile_windows.h (grub_util_utf8_to_tchar): Add + missing prototype. + (grub_util_tchar_to_utf8): Likewise. + 2013-10-14 Vladimir Serbinenko * grub-core/Makefile.core.def: Add osdep/init.c on emu. diff --git a/include/grub/osdep/hostfile_windows.h b/include/grub/osdep/hostfile_windows.h index b062c4708..276b87a09 100644 --- a/include/grub/osdep/hostfile_windows.h +++ b/include/grub/osdep/hostfile_windows.h @@ -31,6 +31,11 @@ typedef HANDLE grub_util_fd_t; #define DEFAULT_DIRECTORY "C:\\"GRUB_BOOT_DIR_NAME"\\"GRUB_DIR_NAME #define DEFAULT_DEVICE_MAP DEFAULT_DIRECTORY "/device.map" +LPTSTR +grub_util_utf8_to_tchar (const char *in); +char * +grub_util_tchar_to_utf8 (LPCTSTR in); + #ifdef __MINGW32__ int fsync (int fno);