src: reduce unnecessary includes · nodejs/node@cde0e5f · GitHub
Skip to content

Commit cde0e5f

Browse files
addaleaxtargos
authored andcommitted
src: reduce unnecessary includes
A forward declaration suffices and means that the tracing agent header and its dependencies don’t need to be included in nearly every Node.js file. PR-URL: #21867 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com> Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
1 parent ec9d529 commit cde0e5f

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/env-inl.h

Lines changed: 0 additions & 1 deletion

src/env.h

Lines changed: 4 additions & 1 deletion

0 commit comments

Comments
 (0)