From 8089d295679f510b206b6261c0010a42b33454be Mon Sep 17 00:00:00 2001 From: gengjiawen Date: Wed, 17 Apr 2019 23:11:58 +0800 Subject: [PATCH] src: apply clang-tidy modernize-deprecated-headers found by Jenkins CI PR-URL: https://github.com/nodejs/node/pull/27279 Reviewed-By: Anna Henningsen --- src/js_native_api_v8.cc | 2 +- src/large_pages/node_large_page.cc | 20 +++++++++++--------- src/node_object_wrap.h | 2 +- 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/src/js_native_api_v8.cc b/src/js_native_api_v8.cc index 134ae992ec037b..e05163c32f8265 100644 --- a/src/js_native_api_v8.cc +++ b/src/js_native_api_v8.cc @@ -1,4 +1,4 @@ -#include // INT_MAX +#include // INT_MAX #include #include #define NAPI_EXPERIMENTAL diff --git a/src/large_pages/node_large_page.cc b/src/large_pages/node_large_page.cc index ad599a1a91bfdc..333a119ee46cb4 100644 --- a/src/large_pages/node_large_page.cc +++ b/src/large_pages/node_large_page.cc @@ -20,19 +20,21 @@ // // SPDX-License-Identifier: MIT -#include // NOLINT(build/include) -#include // _O_RDWR -#include // PATH_MAX -#include -#include -#include -#include -#include -#include +#include "node_large_page.h" + +#include // _O_RDWR #include #include #include // readlink +#include // NOLINT(build/include) +#include // PATH_MAX +#include +#include +#include +#include +#include +#include #include #include #include diff --git a/src/node_object_wrap.h b/src/node_object_wrap.h index 6753a703536ac5..9dce684892a2d8 100644 --- a/src/node_object_wrap.h +++ b/src/node_object_wrap.h @@ -23,7 +23,7 @@ #define SRC_NODE_OBJECT_WRAP_H_ #include "v8.h" -#include +#include namespace node {