summaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
authorSam Roberts <vieuxtech@gmail.com>2019-05-17 13:36:05 -0700
committerSam Roberts <vieuxtech@gmail.com>2019-05-23 08:51:41 -0700
commit60b315c0646aeb0bf4e40d5a7490e9548b714ce2 (patch)
treead1c3ad21abe54b2a7f721d0bef188682cdf76d8 /src/api
parent2ecef9b5f21d4f30a84d7ca80acf40ea041a8980 (diff)
downloadandroid-node-v8-60b315c0646aeb0bf4e40d5a7490e9548b714ce2.tar.gz
android-node-v8-60b315c0646aeb0bf4e40d5a7490e9548b714ce2.tar.bz2
android-node-v8-60b315c0646aeb0bf4e40d5a7490e9548b714ce2.zip
src: remove env-inl.h from header files
Inline headers should only be included into the .cc files that use them. PR-URL: https://github.com/nodejs/node/pull/27755 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/api')
-rw-r--r--src/api/environment.cc2
-rw-r--r--src/api/utils.cc1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/api/environment.cc b/src/api/environment.cc
index 5dfac00647..e5d06f27d1 100644
--- a/src/api/environment.cc
+++ b/src/api/environment.cc
@@ -1,4 +1,4 @@
-#include "env.h"
+#include "env-inl.h"
#include "node.h"
#include "node_context_data.h"
#include "node_errors.h"
diff --git a/src/api/utils.cc b/src/api/utils.cc
index da7281a68f..3e59932f2f 100644
--- a/src/api/utils.cc
+++ b/src/api/utils.cc
@@ -1,3 +1,4 @@
+#include "env-inl.h"
#include "node.h"
#include "node_internals.h"
#include "util-inl.h"