From 7824280b5827e1aaba067088b195328185525b21 Mon Sep 17 00:00:00 2001 From: Joyee Cheung Date: Mon, 31 Dec 2018 23:18:08 +0800 Subject: src: declare process-related C++ methods in node_process.h Instead of in node_internals.h. Also move process property accessors that are not reused into node_process_object.cc and make them static. PR-URL: https://github.com/nodejs/node/pull/25397 Reviewed-By: James M Snell Reviewed-By: Anna Henningsen --- src/node_file.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/node_file.cc') diff --git a/src/node_file.cc b/src/node_file.cc index b66c0fe6d2..8757f6bf0d 100644 --- a/src/node_file.cc +++ b/src/node_file.cc @@ -19,11 +19,13 @@ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. +#include "node_file.h" #include "aliased_buffer.h" #include "node_buffer.h" #include "node_internals.h" +#include "node_process.h" #include "node_stat_watcher.h" -#include "node_file.h" + #include "tracing/trace_event.h" #include "req_wrap-inl.h" -- cgit v1.2.3