summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Bevenius <daniel.bevenius@gmail.com>2018-03-18 13:30:49 +0100
committerDaniel Bevenius <daniel.bevenius@gmail.com>2018-03-20 07:33:45 +0100
commit489b916c7d14032df46fea332133f38a1cadb40d (patch)
treec4e92bd20e3c24c78b760a85e87dddd42b886648
parent1f356a26ae647ff0efab0d99ec76388e640b57c9 (diff)
downloadandroid-node-v8-489b916c7d14032df46fea332133f38a1cadb40d.tar.gz
android-node-v8-489b916c7d14032df46fea332133f38a1cadb40d.tar.bz2
android-node-v8-489b916c7d14032df46fea332133f38a1cadb40d.zip
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. PR-URL: https://github.com/nodejs/node/pull/19427 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
-rw-r--r--src/cares_wrap.cc1
-rw-r--r--src/fs_event_wrap.cc1
-rw-r--r--src/node_crypto.cc1
-rw-r--r--src/spawn_sync.cc1
-rw-r--r--src/stream_wrap.cc1
-rw-r--r--src/udp_wrap.cc1
6 files changed, 0 insertions, 6 deletions
diff --git a/src/cares_wrap.cc b/src/cares_wrap.cc
index a06f4f407c..8f69df8313 100644
--- a/src/cares_wrap.cc
+++ b/src/cares_wrap.cc
@@ -29,7 +29,6 @@
#include "uv.h"
#include <errno.h>
-#include <stdlib.h>
#include <string.h>
#include <vector>
#include <unordered_set>
diff --git a/src/fs_event_wrap.cc b/src/fs_event_wrap.cc
index b3fa3e8d9a..46318e39c9 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 <stdlib.h>
namespace node {
diff --git a/src/node_crypto.cc b/src/node_crypto.cc
index 92e98e2eb2..0f95ccca47 100644
--- a/src/node_crypto.cc
+++ b/src/node_crypto.cc
@@ -46,7 +46,6 @@
#include <errno.h>
#include <limits.h> // INT_MAX
#include <math.h>
-#include <stdlib.h>
#include <string.h>
#include <algorithm>
diff --git a/src/spawn_sync.cc b/src/spawn_sync.cc
index 2a524153a2..525aa4df2b 100644
--- a/src/spawn_sync.cc
+++ b/src/spawn_sync.cc
@@ -25,7 +25,6 @@
#include "util.h"
#include <string.h>
-#include <stdlib.h>
namespace node {
diff --git a/src/stream_wrap.cc b/src/stream_wrap.cc
index c696404849..ad708c9ed2 100644
--- a/src/stream_wrap.cc
+++ b/src/stream_wrap.cc
@@ -32,7 +32,6 @@
#include "udp_wrap.h"
#include "util-inl.h"
-#include <stdlib.h> // abort()
#include <string.h> // memcpy()
#include <limits.h> // INT_MAX
diff --git a/src/udp_wrap.cc b/src/udp_wrap.cc
index e7d97dc484..4f4d7c46d7 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 <stdlib.h>
namespace node {