src: hide InitializeICUDirectory symbol
authorBen Noordhuis <info@bnoordhuis.nl>
Wed, 27 May 2015 19:25:04 +0000 (21:25 +0200)
committerBen Noordhuis <info@bnoordhuis.nl>
Tue, 2 Jun 2015 19:44:18 +0000 (21:44 +0200)
Exporting it seems like an oversight.  It's not safe to call once
V8 is running so there doesn't seem to be a point in exporting it
to add-ons.  Un-export it.

PR-URL: https://github.com/nodejs/io.js/pull/1815
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
src/node_i18n.h

index ec38b66..0d47927 100644 (file)
@@ -8,7 +8,7 @@
 namespace node {
 namespace i18n {
 
-NODE_EXTERN bool InitializeICUDirectory(const char* icu_data_path);
+bool InitializeICUDirectory(const char* icu_data_path);
 
 }  // namespace i18n
 }  // namespace node