summaryrefslogtreecommitdiff
path: root/core/fxcrt/fx_extension.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-08-10 23:43:26 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-08-10 23:43:26 +0000
commit6fdfe387645217cdd77e8e4230a0d8348d831e31 (patch)
tree5c7e9340f3ef0a7cefdff19733a0c9fcad311cb4 /core/fxcrt/fx_extension.h
parent8ba9749e2f39287137a96ec5ceff2ac694566f48 (diff)
downloadpdfium-6fdfe387645217cdd77e8e4230a0d8348d831e31.tar.xz
Kill some optional parameters that are always supplied.
No need to even bring any .cpp files in line with these headers. Change-Id: I934169d77ae09adc11f02e5ea92b1f8b078c9477 Reviewed-on: https://pdfium-review.googlesource.com/39876 Commit-Queue: Tom Sepez <tsepez@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fxcrt/fx_extension.h')
-rw-r--r--core/fxcrt/fx_extension.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/fxcrt/fx_extension.h b/core/fxcrt/fx_extension.h
index 6a49ee1116..d1ea795fa8 100644
--- a/core/fxcrt/fx_extension.h
+++ b/core/fxcrt/fx_extension.h
@@ -27,9 +27,7 @@
#define FX_IsOdd(a) ((a)&1)
#endif // PDF_ENABLE_XFA
-float FXSYS_wcstof(const wchar_t* pwsStr,
- int32_t iLength = -1,
- int32_t* pUsedLen = nullptr);
+float FXSYS_wcstof(const wchar_t* pwsStr, int32_t iLength, int32_t* pUsedLen);
wchar_t* FXSYS_wcsncpy(wchar_t* dstStr, const wchar_t* srcStr, size_t count);
int32_t FXSYS_wcsnicmp(const wchar_t* s1, const wchar_t* s2, size_t count);