-
Notifications
You must be signed in to change notification settings - Fork 30.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
src: cleanup unused headers #30328
src: cleanup unused headers #30328
Changes from all commits
01d3211
a33c48d
4200839
f28b8c4
77d07ce
240ba7d
d7f2f40
db5d6f1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
#include "node.h" | ||
#include "env-inl.h" | ||
#include "string_bytes.h" | ||
#include "util-inl.h" | ||
#include "v8.h" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
#include "node.h" | ||
#include "node_internals.h" | ||
#include "util-inl.h" | ||
|
||
#include <csignal> | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
#include "debug_utils.h" | ||
#include "env-inl.h" | ||
#include "util-inl.h" | ||
|
||
#ifdef __POSIX__ | ||
#if defined(__linux__) | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,6 @@ | |
|
||
#include "async_wrap.h" | ||
#include "stream_base.h" | ||
#include "v8.h" | ||
|
||
namespace node { | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ | |
// Decodes a v8::Local<v8::String> or Buffer to a raw char* | ||
|
||
#include "v8.h" | ||
#include "env.h" | ||
#include "env-inl.h" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you explain why this is necessary? If an inline function here uses an inline function from There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The more I think of it, it's probably not necessary and an over reaction on my side to this CI error on osx https://ci.nodejs.org/job/node-test-commit-osx/29819/nodes=osx1011/console Why would only that build fail for that particular reason still leaves me puzzled There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah… I don’t know either, but I think it makes sense to move |
||
|
||
namespace node { | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
base_object-inl.h
is guaranteed to have a forward declaration of this because it uses it as a return type… however, it’s not great thatbase_object-inl.h
is included here rather thanbase_object.h
. Can we replace it with the latter?