From 42d4f58821c8494c6873ee054a217ebb3605489d 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 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. --- 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 a06f4f407cdd5c..8f69df83133f4f 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 b3fa3e8d9a075b..46318e39c97642 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 92e98e2eb2ed11..0f95ccca4771de 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 c696404849c9cc..ad708c9ed28def 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 e7d97dc484250c..4f4d7c46d70d99 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 {