From 70d840afd5c0ddb383c527178a3c233c92f357c6 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 25 Aug 2016 02:11:19 +0000 Subject: win32/file.h: rb_w32_filecp * win32/file.h (rb_w32_filecp): add declaration. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- win32/file.c | 3 --- win32/file.h | 2 ++ win32/win32.c | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/win32/file.c b/win32/file.c index 28177a156e..897407f2a4 100644 --- a/win32/file.c +++ b/win32/file.c @@ -33,9 +33,6 @@ static struct code_page_table { #define system_code_page rb_w32_filecp #define mbstr_to_wstr rb_w32_mbstr_to_wstr #define wstr_to_mbstr rb_w32_wstr_to_mbstr -UINT rb_w32_filecp(void); -WCHAR *rb_w32_mbstr_to_wstr(UINT, const char *, int, long *); -char *rb_w32_wstr_to_mbstr(UINT, const WCHAR *, int, long *); static inline void replace_wchar(wchar_t *s, int find, int replace) diff --git a/win32/file.h b/win32/file.h index 624707f0b7..dd448269d4 100644 --- a/win32/file.h +++ b/win32/file.h @@ -42,4 +42,6 @@ int rb_w32_ulchown(const char *path, int owner, int group); int fchmod(int fd, int mode); #define HAVE_FCHMOD 0 +UINT rb_w32_filecp(void); + #endif /* RUBY_WIN32_FILE_H */ diff --git a/win32/win32.c b/win32/win32.c index 4e07564f95..db9203987f 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -1207,7 +1207,6 @@ is_batch(const char *cmd) return 0; } -UINT rb_w32_filecp(void); #define filecp rb_w32_filecp #define mbstr_to_wstr rb_w32_mbstr_to_wstr #define wstr_to_mbstr rb_w32_wstr_to_mbstr -- cgit v1.2.3