diff options
-rw-r--r-- | win32/file.c | 3 | ||||
-rw-r--r-- | win32/file.h | 2 | ||||
-rw-r--r-- | 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 |