summaryrefslogtreecommitdiff
path: root/src/node_i18n.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/node_i18n.cc')
-rw-r--r--src/node_i18n.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/node_i18n.cc b/src/node_i18n.cc
index 0f3b9b76e6..f89ae40a55 100644
--- a/src/node_i18n.cc
+++ b/src/node_i18n.cc
@@ -79,9 +79,9 @@ bool InitializeICUDirectory(const char* icu_data_path) {
}
}
-static int32_t ToUnicode(MaybeStackBuffer<char>* buf,
- const char* input,
- size_t length) {
+int32_t ToUnicode(MaybeStackBuffer<char>* buf,
+ const char* input,
+ size_t length) {
UErrorCode status = U_ZERO_ERROR;
uint32_t options = UIDNA_DEFAULT;
options |= UIDNA_NONTRANSITIONAL_TO_UNICODE;
@@ -113,9 +113,9 @@ static int32_t ToUnicode(MaybeStackBuffer<char>* buf,
return len;
}
-static int32_t ToASCII(MaybeStackBuffer<char>* buf,
- const char* input,
- size_t length) {
+int32_t ToASCII(MaybeStackBuffer<char>* buf,
+ const char* input,
+ size_t length) {
UErrorCode status = U_ZERO_ERROR;
uint32_t options = UIDNA_DEFAULT;
options |= UIDNA_NONTRANSITIONAL_TO_ASCII;