From 30506dc9cb2fd8d5ae7baf8567632bcfba53ed38 Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Sun, 18 Mar 2018 13:30:49 +0100 Subject: [PATCH] src: remove unused stdlib.h include MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Commit 870229e66529309dfea932c52d718ddc2d734966 ("src: Add ABORT macro") replaced the abort call with the abort macro in util-inl.h. This commit removes the include as it is not needed anymore. PR-URL: https://github.com/nodejs/node/pull/19427 Reviewed-By: Anna Henningsen Reviewed-By: Tobias Nießen Reviewed-By: Colin Ihrig --- src/cares_wrap.cc | 1 - src/fs_event_wrap.cc | 1 - src/node_crypto.cc | 1 - src/spawn_sync.cc | 1 - src/stream_wrap.cc | 1 - src/udp_wrap.cc | 1 - 6 files changed, 6 deletions(-) diff --git a/src/cares_wrap.cc b/src/cares_wrap.cc index b8da20346692c3..da3083a9ce3673 100644 --- a/src/cares_wrap.cc +++ b/src/cares_wrap.cc @@ -29,7 +29,6 @@ #include "uv.h" #include -#include #include #include #include diff --git a/src/fs_event_wrap.cc b/src/fs_event_wrap.cc index 85a09060a11edc..e37c82516f194a 100644 --- a/src/fs_event_wrap.cc +++ b/src/fs_event_wrap.cc @@ -26,7 +26,6 @@ #include "handle_wrap.h" #include "string_bytes.h" -#include namespace node { diff --git a/src/node_crypto.cc b/src/node_crypto.cc index 9b26a12fc4b46f..4a12a3acb59f2d 100644 --- a/src/node_crypto.cc +++ b/src/node_crypto.cc @@ -46,7 +46,6 @@ #include #include // INT_MAX #include -#include #include #include diff --git a/src/spawn_sync.cc b/src/spawn_sync.cc index 2a524153a29d13..525aa4df2bcf74 100644 --- a/src/spawn_sync.cc +++ b/src/spawn_sync.cc @@ -25,7 +25,6 @@ #include "util.h" #include -#include namespace node { diff --git a/src/stream_wrap.cc b/src/stream_wrap.cc index 27fe48d1165c75..2a614afffde591 100644 --- a/src/stream_wrap.cc +++ b/src/stream_wrap.cc @@ -32,7 +32,6 @@ #include "udp_wrap.h" #include "util-inl.h" -#include // abort() #include // memcpy() #include // INT_MAX diff --git a/src/udp_wrap.cc b/src/udp_wrap.cc index 192f2aeba0642d..a7b56c067b2c2d 100644 --- a/src/udp_wrap.cc +++ b/src/udp_wrap.cc @@ -26,7 +26,6 @@ #include "req_wrap-inl.h" #include "util-inl.h" -#include namespace node {