aboutsummaryrefslogtreecommitdiffstats
path: root/win32
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-08-25 02:11:19 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-08-25 02:11:19 +0000
commit77e73f2b56b137792932ad36ba50dcc2ae5772df (patch)
tree8eb2089d798a1451483706da0131052d83c52298 /win32
parentf50b68e5aef8e39445caaad18ef7c4ccd49f6743 (diff)
downloadruby-77e73f2b56b137792932ad36ba50dcc2ae5772df.tar.gz
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
Diffstat (limited to 'win32')
-rw-r--r--win32/file.c3
-rw-r--r--win32/file.h2
-rw-r--r--win32/win32.c1
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