Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRefael Ackermann <refack@gmail.com>2019-02-26 01:27:19 +0300
committerRefael Ackermann <refack@gmail.com>2019-03-12 16:57:19 +0300
commitf2064dfc1fee2daa0537bc27d79d5aa0f734faaf (patch)
tree8e7c60ae471af748fe710193a3662d13de25c3fe /src/large_pages
parent902998190a55d6915b881936f6dd5b6e9cca6ad8 (diff)
src: de-lint header usage
PR-URL: https://github.com/nodejs/node/pull/26306 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Diffstat (limited to 'src/large_pages')
-rw-r--r--src/large_pages/node_large_page.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/large_pages/node_large_page.cc b/src/large_pages/node_large_page.cc
index 4b860d9ccb4..ad599a1a91b 100644
--- a/src/large_pages/node_large_page.cc
+++ b/src/large_pages/node_large_page.cc
@@ -20,8 +20,8 @@
//
// SPDX-License-Identifier: MIT
-#include <errno.h>
-#include <fcntl.h> // _O_RDWR
+#include <errno.h> // NOLINT(build/include)
+#include <fcntl.h> // _O_RDWR
#include <limits.h> // PATH_MAX
#include <locale.h>
#include <signal.h>
@@ -31,11 +31,12 @@
#include <string.h>
#include <sys/types.h>
#include <sys/mman.h>
+#include <unistd.h> // readlink
+
#include <string>
#include <fstream>
#include <iostream>
#include <sstream>
-#include <unistd.h> // readlink
// The functions in this file map the text segment of node into 2M pages.
// The algorithm is simple