Skip to content

Commit b00ced5

Browse files
joyeecheungMylesBorins
authored andcommitted
src: do not include x.h if x-inl.h is included
Backport-PR-URL: #16610 Fixes: #16519 PR-URL: #16548 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Daniel Bevenius <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent a4688b0 commit b00ced5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+2
-101
lines changed

src/async-wrap-inl.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,10 @@
44
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
55

66
#include "async-wrap.h"
7-
#include "base-object.h"
87
#include "base-object-inl.h"
98
#include "env.h"
109
#include "env-inl.h"
1110
#include "node_internals.h"
12-
#include "util.h"
1311
#include "util-inl.h"
1412
#include "v8.h"
1513

src/async-wrap.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
#include "async-wrap.h"
21
#include "async-wrap-inl.h"
32
#include "env.h"
43
#include "env-inl.h"
5-
#include "util.h"
64
#include "util-inl.h"
75

86
#include "uv.h"

src/base-object-inl.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
55

66
#include "base-object.h"
7-
#include "env.h"
87
#include "env-inl.h"
9-
#include "util.h"
108
#include "util-inl.h"
119
#include "v8.h"
1210

src/cares_wrap.cc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
#define CARES_STATICLIB
22
#include "ares.h"
3-
#include "async-wrap.h"
43
#include "async-wrap-inl.h"
54
#include "env.h"
65
#include "env-inl.h"
76
#include "node.h"
8-
#include "req-wrap.h"
97
#include "req-wrap-inl.h"
108
#include "tree.h"
11-
#include "util.h"
129
#include "util-inl.h"
1310
#include "uv.h"
1411

src/connect_wrap.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
#include "connect_wrap.h"
22

3-
#include "env.h"
43
#include "env-inl.h"
5-
#include "req-wrap.h"
64
#include "req-wrap-inl.h"
75
#include "util.h"
86
#include "util-inl.h"

src/connection_wrap.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@
22

33
#include "connect_wrap.h"
44
#include "env-inl.h"
5-
#include "env.h"
65
#include "pipe_wrap.h"
76
#include "stream_wrap.h"
87
#include "tcp_wrap.h"
9-
#include "util.h"
108
#include "util-inl.h"
119

1210
namespace node {

src/debug-agent.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,9 @@
2323

2424
#include "node.h"
2525
#include "node_internals.h" // arraysize
26-
#include "env.h"
2726
#include "env-inl.h"
2827
#include "v8.h"
2928
#include "v8-debug.h"
30-
#include "util.h"
3129
#include "util-inl.h"
3230

3331
#include <string.h>

src/debug-agent.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
2626

2727
#include "node_mutex.h"
28-
#include "util.h"
2928
#include "util-inl.h"
3029
#include "uv.h"
3130
#include "v8.h"

src/env-inl.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
#include "env.h"
77
#include "node.h"
8-
#include "util.h"
98
#include "util-inl.h"
109
#include "uv.h"
1110
#include "v8.h"

src/env.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#include "env.h"
21
#include "env-inl.h"
32
#include "v8.h"
43

0 commit comments

Comments
 (0)