Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
authorAlexandre Ferrando <alferpal@gmail.com>2019-11-07 22:34:36 +0300
committerAnna Henningsen <anna@addaleax.net>2019-11-30 05:57:55 +0300
commit8ec0d75de76debf84d2340d2116eedab15ae5026 (patch)
tree478cb23f87ef04eb4cc39d9bbdc32d252a501ddf /src/api
parent2cf8a7f117ea2d9a510439ae39d9567b1eb3425b (diff)
src: cleanup unused headers
Node codebase has evolved a lot in the more than 10 years of its existence. As more features (and code) have been added, changed, removed, it's sometimes hard to keep track of what gets used and what not. This commits attempts to clean some of those potentially left-over headers using suggestions from include-what-you-use Refs: https://github.com/nodejs/node/issues/27531 PR-URL: https://github.com/nodejs/node/pull/30328 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/api')
-rw-r--r--src/api/encoding.cc1
-rw-r--r--src/api/utils.cc2
2 files changed, 0 insertions, 3 deletions
diff --git a/src/api/encoding.cc b/src/api/encoding.cc
index 21d32750972..fa872f8b76c 100644
--- a/src/api/encoding.cc
+++ b/src/api/encoding.cc
@@ -1,5 +1,4 @@
#include "node.h"
-#include "env-inl.h"
#include "string_bytes.h"
#include "util-inl.h"
#include "v8.h"
diff --git a/src/api/utils.cc b/src/api/utils.cc
index da7281a68f3..f07f9bea234 100644
--- a/src/api/utils.cc
+++ b/src/api/utils.cc
@@ -1,6 +1,4 @@
#include "node.h"
-#include "node_internals.h"
-#include "util-inl.h"
#include <csignal>