diff options
author | Joyee Cheung <joyeec9h3@gmail.com> | 2018-12-31 18:18:08 +0300 |
---|---|---|
committer | Joyee Cheung <joyeec9h3@gmail.com> | 2019-01-11 15:11:55 +0300 |
commit | 7824280b5827e1aaba067088b195328185525b21 (patch) | |
tree | 7c1971d1ee5ac4a6f02b38e8fb6bfebf5a02c250 /src/node_env_var.cc | |
parent | 5a15f4bdfa060082757062dc5f39519d93e7b8fb (diff) |
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 <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'src/node_env_var.cc')
-rw-r--r-- | src/node_env_var.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/node_env_var.cc b/src/node_env_var.cc index 8cbfa22973c..d1ebb064e24 100644 --- a/src/node_env_var.cc +++ b/src/node_env_var.cc @@ -1,5 +1,6 @@ -#include "node_internals.h" #include "node_errors.h" +#include "node_internals.h" +#include "node_process.h" #ifdef __APPLE__ #include <crt_externs.h> |