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:
authorgengjiawen <technicalcute@gmail.com>2019-02-17 05:53:47 +0300
committerDaniel Bevenius <daniel.bevenius@gmail.com>2019-02-27 07:35:53 +0300
commit8137668c531935c58347cd8e78147d3a9d3cc339 (patch)
tree68a560138be9cfe9325e46aebbaab3d1f607347e /src/node_constants.cc
parent42551909f7c20d6b4c4c6e28695958729177455d (diff)
src: apply clang-tidy rule modernize-deprecated-headers
PR-URL: https://github.com/nodejs/node/pull/26159 Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/node_constants.cc')
-rw-r--r--src/node_constants.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/node_constants.cc b/src/node_constants.cc
index debcf0e1004..e4eae1727cb 100644
--- a/src/node_constants.cc
+++ b/src/node_constants.cc
@@ -24,12 +24,12 @@
#include "zlib.h"
-#include <errno.h>
+#include <cerrno>
#if !defined(_MSC_VER)
#include <unistd.h>
#endif
#include <fcntl.h>
-#include <signal.h>
+#include <csignal>
#include <sys/types.h>
#include <sys/stat.h>
#include <limits>