summaryrefslogtreecommitdiff
path: root/core/fxcrt
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2017-05-03 13:52:23 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-05-04 13:29:32 +0000
commitdc36790c08bdcea0227f05b6b4f5f5d8997522e0 (patch)
tree60c41cba3ac1fc8c054b4ea7aca4a5a78fdfe3a4 /core/fxcrt
parent28b44b03c133055ba82dc54bbde49b9627f9c3d9 (diff)
downloadpdfium-dc36790c08bdcea0227f05b6b4f5f5d8997522e0.tar.xz
Remove FXSYS_wfopen(), it is totally unused.
Change-Id: I612d9eaa47f6e4b023a49ab9120372de3d73cdc7 Reviewed-on: https://pdfium-review.googlesource.com/4831 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fxcrt')
-rw-r--r--core/fxcrt/fx_basic_gcc.cpp4
-rw-r--r--core/fxcrt/fx_system.h10
2 files changed, 0 insertions, 14 deletions
diff --git a/core/fxcrt/fx_basic_gcc.cpp b/core/fxcrt/fx_basic_gcc.cpp
index ce1f813b5a..8a65576b39 100644
--- a/core/fxcrt/fx_basic_gcc.cpp
+++ b/core/fxcrt/fx_basic_gcc.cpp
@@ -135,10 +135,6 @@ uint32_t FXSYS_GetModuleFileName(void* hModule, char* buf, uint32_t bufsize) {
#ifdef __cplusplus
extern "C" {
#endif
-FILE* FXSYS_wfopen(const wchar_t* filename, const wchar_t* mode) {
- return fopen(CFX_ByteString::FromUnicode(filename).c_str(),
- CFX_ByteString::FromUnicode(mode).c_str());
-}
char* FXSYS_strlwr(char* str) {
if (!str) {
return nullptr;
diff --git a/core/fxcrt/fx_system.h b/core/fxcrt/fx_system.h
index 1e66e7bb80..5e8aa6c0e6 100644
--- a/core/fxcrt/fx_system.h
+++ b/core/fxcrt/fx_system.h
@@ -122,16 +122,6 @@ void FXSYS_vsnprintf(char* str, size_t size, const char* fmt, va_list ap);
#define FXSYS_sprintf DO_NOT_USE_SPRINTF_DIE_DIE_DIE
#define FXSYS_vsprintf DO_NOT_USE_VSPRINTF_DIE_DIE_DIE
-#if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_
-#ifdef _NATIVE_WCHAR_T_DEFINED
-#define FXSYS_wfopen(f, m) _wfopen((const wchar_t*)(f), (const wchar_t*)(m))
-#else
-#define FXSYS_wfopen _wfopen
-#endif // _NATIVE_WCHAR_T_DEFINED
-#else
-FILE* FXSYS_wfopen(const wchar_t* filename, const wchar_t* mode);
-#endif // _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_
-
#ifdef __cplusplus
} // extern "C"