Skip to content

Commit

Permalink
src: remove unused stdlib.h include
Browse files Browse the repository at this point in the history
Commit 870229e ("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: #19427
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
danbev authored and MylesBorins committed Mar 20, 2018
1 parent e3ce084 commit 8757799
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/cares_wrap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
#include "uv.h"

#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <vector>
#include <unordered_set>
Expand Down
1 change: 0 additions & 1 deletion src/fs_event_wrap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
#include "handle_wrap.h"
#include "string_bytes.h"

#include <stdlib.h>

namespace node {

Expand Down
1 change: 0 additions & 1 deletion src/node_crypto.cc
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
#include <errno.h>
#include <limits.h> // INT_MAX
#include <math.h>
#include <stdlib.h>
#include <string.h>

#include <algorithm>
Expand Down
1 change: 0 additions & 1 deletion src/spawn_sync.cc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
#include "util.h"

#include <string.h>
#include <stdlib.h>


namespace node {
Expand Down
1 change: 0 additions & 1 deletion src/stream_wrap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 0 additions & 1 deletion src/udp_wrap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
#include "req_wrap-inl.h"
#include "util-inl.h"

#include <stdlib.h>


namespace node {
Expand Down

0 comments on commit 8757799

Please sign in to comment.